Hi Josh, ok, VSCode confused me. Building as normal with maven worked perfectly. So the problem is only in VSCode. I have .vscode/settings.json with this content:
{ "as3mxml.sdk.framework": "/Users/carlosrovira/Dev/Royale/Source/royale-asjs" , "as3mxml.sdk.editor": "/Users/carlosrovira/Dev/Royale/Source/royale-asjs" } and there I have my up to date SDK (build daily), so is a fresh 0.9.6 with latest changes With that config I get only 1 error for the abstract keyword just set up: "Access specifiers are not allowed with namespace attributes." Maybe something more is needed? Thanks! El jue., 29 ago. 2019 a las 16:56, Josh Tynjala (<joshtynj...@bowlerhat.dev>) escribió: > The AS3 & MXML extension for VSCode bundles Royale 0.9.4, which doesn't > understand abstract. Maybe you forgot to use the as3mxml.sdk.editor setting > to tell it to use 0.9.6 for code intelligence? In other words, both > as3mxml.sdk.framework and as3mxml.sdk.editor need to point to 0.9.6. > > -- > Josh Tynjala > Bowler Hat LLC <https://bowlerhat.dev> > > > On Thu, Aug 29, 2019 at 12:45 AM Carlos Rovira <carlosrov...@apache.org> > wrote: > > > Hi Josh, > > > > using your indication in VSCode shows a problem in the "abstract" word > and > > says: > > > > "Access specifiers are not allowed with namespace attributes.(1003)" > > > > I assume we have abstract keyword set by default right? so in Jewel > without > > configuring nothing "abstract" should be allowed. > > > > Thanks > > > > > > El mié., 28 ago. 2019 a las 23:31, Josh Tynjala (< > > joshtynj...@bowlerhat.dev>) > > escribió: > > > > > Hi Carlos, > > > > > > If I understand you correctly, you removed public and added abstract. > > > However, you should not remove public. Your new declaration should > > probably > > > look like this: > > > > > > public abstract class TextInputBase extends StyledUIBase implements > > > ITextInput > > > > > > If this does not seem to help, can you share the full error message? > > > > > > -- > > > Josh Tynjala > > > Bowler Hat LLC <https://bowlerhat.dev> > > > > > > > > > On Fri, Aug 23, 2019 at 2:21 AM Carlos Rovira <carlosrov...@apache.org > > > > > wrote: > > > > > > > Hi Josh, > > > > > > > > after cleaning Jewel TextInput classes, I tried to change > TextInputBase > > > > from public to abstract class. > > > > > > > > The reason is that while Simple** classes (like Jewel SimpleButton or > > > > SimpleRemoteObject), are a reduced case of a class named without > > "Simple" > > > > (in the example "Button", and most users would want to use just > > "Button", > > > > so this name strategy seems very good to me, exposing the most used > > class > > > > with the expected name and a simple one with that prefix). > > > > > > > > Others like TextInputBase (with suffix **Base) are just a base class > > for > > > > other classes like TextInput and TextArea and should not be used as a > > > > component, > > > > so in this way of thinking seems reasonable to mark it as "abstract". > > > > > > > > When doing that little change (switch public for abstract at level > > class > > > in > > > > TextInputBase), when compile Jewel SWC, a bunch of errors appear, > > > > so is not clear to me if I'm doing something wrong, or I'm missing > > > > something. > > > > > > > > Hope you can give some light on this. > > > > > > > > Thanks. > > > > > > > > -- > > > > Carlos Rovira > > > > http://about.me/carlosrovira > > > > > > > > > > > > > -- > > Carlos Rovira > > http://about.me/carlosrovira > > > -- Carlos Rovira http://about.me/carlosrovira