Implemented ultra-basic/incomplete function template instantiation type inference for Kalypso that just assigns the param type to the concat'd string right away which works in the most basic of cases. Will expand to cover pointers soon, and the rest when those features are implemented (object templates, function types)
This commit is contained in:
@@ -37,7 +37,7 @@ fun return_something_p_1(it: Something): Something {
|
||||
return it
|
||||
}
|
||||
*/
|
||||
fun id<T>(in: *T): *T return in;
|
||||
/*fun id<T>(in: *T): *T return in;*/
|
||||
fun id<T>(in: T): T return in;
|
||||
fun other_id<T>(in: T): T {
|
||||
var a: T
|
||||
|
||||
Reference in New Issue
Block a user