Invalid instance member access to properties/fields
@ricotz
Submitted by Rico Tzschichholz Link to original bug (#790903)
Description
Statically accessing fields results in broken ccode while for properties at least an improper error is thrown.
class Foo {
public string field;
public string property { get; set; }
}
void main () {
string foo;
foo = Foo.field;
foo = Foo.property;
}
Version: 0.39.x