%interface family of macros no longer add variable wrappers
The getter/setter methods used for wrapping methods are no longer added to the interface class. Closes #1524 Also add in testcase for enums.
This commit is contained in:
parent
63bbf642f4
commit
598736a6b2
7 changed files with 48 additions and 2 deletions
|
|
@ -2323,7 +2323,7 @@ public:
|
|||
String *pre_code = NewString("");
|
||||
String *post_code = NewString("");
|
||||
String *terminator_code = NewString("");
|
||||
bool is_interface = GetFlag(parentNode(n), "feature:interface")
|
||||
bool is_interface = GetFlag(parentNode(n), "feature:interface") && !checkAttribute(n, "kind", "variable")
|
||||
&& !static_flag && Getattr(n, "interface:owner") == 0;
|
||||
|
||||
if (!proxy_flag)
|
||||
|
|
|
|||
|
|
@ -2459,7 +2459,7 @@ public:
|
|||
bool setter_flag = false;
|
||||
String *pre_code = NewString("");
|
||||
String *post_code = NewString("");
|
||||
bool is_interface = GetFlag(parentNode(n), "feature:interface")
|
||||
bool is_interface = GetFlag(parentNode(n), "feature:interface") && !checkAttribute(n, "kind", "variable")
|
||||
&& !static_flag && Getattr(n, "interface:owner") == 0;
|
||||
|
||||
if (!proxy_flag)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue