can theoretically infer generics now (even tho they don't exist yet lmao)
This commit is contained in:
1 parent
07a9d6fee7
commit
44824b8b5a
4 files changed
+28
-9
No files matched your search
@@ -30,6 +30,7 @@ fn start() {
|
||||
x = add(x, 1);
|
||||
};
|
||||
println("after");
|
||||
let infer_me: slice<_> = "hello";
|
||||
print(tester());
|
||||
let test: Test = Test {
|
||||
a: 10,
|
||||
|
||||
Reference in new issue
Block a user