Implemented reading from struct fields
This commit is contained in:
parent
e36d9fade3
commit
71d7cdf5b2
10 changed files with 112 additions and 15 deletions
6
tests/errors/UnknownStructField.q
Normal file
6
tests/errors/UnknownStructField.q
Normal file
|
@ -0,0 +1,6 @@
|
|||
struct A {}
|
||||
|
||||
main() {
|
||||
a := new(A)
|
||||
a.x = 1
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue