Resolving references to builtins: first loading Unit.jet, and then the rest of the library

Test data fixed to get rid of jet.src directory
This commit is contained in:
Andrey Breslav
2012-10-17 14:38:22 +04:00
parent c3881747af
commit 9387c974bd
6 changed files with 24 additions and 9 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
var x : <ref>Any?
//jet.src/Any.jet:Any
//jet/Any.jet:Any
+1 -1
View File
@@ -1,4 +1,4 @@
fun f(p : () -> String) {
p.<ref>invoke()
}
//jet.src/Functions.jet:invoke
//jet/Functions.jet:invoke
+1 -1
View File
@@ -1,2 +1,2 @@
var x : <ref>Nothing
//jet.src/Nothing.jet:Nothing
//jet/Nothing.jet:Nothing
+1 -1
View File
@@ -1,2 +1,2 @@
var x = #(1, 2).<ref>_1
//jet.src/Tuples.jet:_1
//jet/Tuples.jet:_1
+1 -1
View File
@@ -1,2 +1,2 @@
var x : <ref>Unit?
//jet.src/Unit.jet:Tuple0
//jet/Unit.jet:Tuple0