Implemented source tracking and type checking
All checks were successful
/ test (push) Successful in 21s
All checks were successful
/ test (push) Successful in 21s
This commit is contained in:
parent
70c2da4a4d
commit
329fcfff6f
30 changed files with 427 additions and 125 deletions
|
@ -18,8 +18,4 @@ func TestFunction(t *testing.T) {
|
|||
assert.False(t, main.IsExtern())
|
||||
assert.Equal(t, main.UniqueName, "main.main")
|
||||
assert.Equal(t, main.String(), main.UniqueName)
|
||||
|
||||
write, exists := env.Functions["io.write"]
|
||||
assert.True(t, exists)
|
||||
write.Output[0].Type()
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue