Implemented register calls
This commit is contained in:
parent
0483176e56
commit
c777d73bbb
16 changed files with 133 additions and 43 deletions
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) {}
|
Loading…
Add table
Add a link
Reference in a new issue