-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
$class my_meta {
};
my_meta MyClass {
public:
int i;
};
int main() {
MyClass c;
c.i = 3;
}
That code fails to compile with the error no member named 'i' in 'MyClass'.
A compiler.debug($MyClass) call shows MyClass as being an empty struct.
The code works fine if the definition of MyClass is changed to class MyClass.
Metadata
Metadata
Assignees
Labels
No labels