Implemented type checks
This commit is contained in:
parent
6e848774ed
commit
1b13539b22
19 changed files with 199 additions and 79 deletions
7
tests/errors/TypeMismatch.q
Normal file
7
tests/errors/TypeMismatch.q
Normal file
|
@ -0,0 +1,7 @@
|
|||
main() {
|
||||
writeToMemory(0)
|
||||
}
|
||||
|
||||
writeToMemory(p Pointer) {
|
||||
p[0] = 'A'
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue