Implemented register calls
This commit is contained in:
5
tests/errors/UnknownType.q
Normal file
5
tests/errors/UnknownType.q
Normal file
@ -0,0 +1,5 @@
|
||||
main() {}
|
||||
|
||||
f(x unknown) -> int {
|
||||
return x
|
||||
}
|
5
tests/errors/UnknownType2.q
Normal file
5
tests/errors/UnknownType2.q
Normal file
@ -0,0 +1,5 @@
|
||||
main() {}
|
||||
|
||||
f(x int) -> unknown {
|
||||
return x
|
||||
}
|
3
tests/errors/UnusedVariable2.q
Normal file
3
tests/errors/UnusedVariable2.q
Normal file
@ -0,0 +1,3 @@
|
||||
main() {}
|
||||
|
||||
f(x int) {}
|
Reference in New Issue
Block a user