Swapped pointers to the other side for types to prevent ambiguity, i.e. *int instead of int*
This commit is contained in:
@@ -2,7 +2,7 @@ import io:*
|
||||
import mem:*
|
||||
import vector:*
|
||||
|
||||
fun retMessage(): char* {
|
||||
fun retMessage(): *char {
|
||||
return "I do like type inference"
|
||||
}
|
||||
fun id<T>(in: T): T { return in; }
|
||||
|
||||
Reference in New Issue
Block a user