We now have separate Expr implementations for dereferencing pointers and automatically dereferencing references. This is in particular necessary so that we can detect attempts to dereference references with the '*' operator in programs and issue an error in that case. Fixes issue #192.
7 lines
110 B
Plaintext
7 lines
110 B
Plaintext
// Illegal to dereference non-pointer type "varying float"
|
|
|
|
float func(float a) {
|
|
*a = 0;
|
|
return 0;
|
|
}
|