Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [golo-dev] Importing unions (Vincent)

Hi,

That works indeed, thanks again! 

IIRC structs are compiled to XXX.types.YYY as well and as my example shows, those can be resolved simply by importing the module, right? So as a user I did not expect this.

But for the time being I'm happy I can continue :)

PS: I needed AND/OR logical operations again, I'm looking at the code and see if I can contribute this to the runtime library, as we discussed long ago on this list. I'll check the Eclipse contribution agreement.

Best regards,
Vincent


> You're welcome Vincent,
> 
> did you try to import 'test2.types.Union2' ?
> 
> http://golo-lang.org/documentation/next/#_jvm_existence_2
> 
> regards,
> Sylvain.
> 


Back to the top