You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have not investigated this very far, but I am receiving compilation errors attempting to access variables set in an interface of an object I pass to a template. Written up example below. Has anyone else seen this issue?
interface AInterface{
String foo="foo";
}
class superA{
String superBar="superBar";
}
class A extends superA implements AInterface{
String bar = "bar";
}
----Inside template-----
@(someVar:A)
This works fine for 'bar': @(someVar.bar)
And this works fine for 'superBar': @(someVar.superBar)
[Compilation error: value name is not a member of class]
But for 'foo': @(someVar.foo)
The text was updated successfully, but these errors were encountered:
I have not investigated this very far, but I am receiving compilation errors attempting to access variables set in an interface of an object I pass to a template. Written up example below. Has anyone else seen this issue?
----Inside template-----
The text was updated successfully, but these errors were encountered: