stan

stan merged pull request ZenCode/StdLibs#1

Made StdLibs a gradle project and removed Storage Tags

4 years ago

stan closed pull request ZenCode/StdLibs#1

Made StdLibs a gradle project and removed Storage Tags

4 years ago

stan merged pull request ZenScript/ZenScript#16

Made invalid imports log errors

4 years ago

stan closed pull request ZenScript/ZenScript#16

Made invalid imports log errors

4 years ago

stan merged pull request ZenScript/ZenScript#15

fix optionals not inheriting nullable and expecting a default type

5 years ago

stan closed pull request ZenScript/ZenScript#15

fix optionals not inheriting nullable and expecting a default type

5 years ago

stan commented on issue ZenScript/ZenScript#15

fix optionals not inheriting nullable and expecting a default type

As discussed just ago in Discord, it does meet user expectations that an @Optional would also imply that the value is nullable. For integer and floating-point values, there are dedicated annotations anyways, and @Optional doesn't yet have the ability for default values up to this point.

5 years ago

stan commented on issue ZenScript/ZenScript#15

fix optionals not inheriting nullable and expecting a default type

Having a look (and thinking about it), actually this isn't how I would fix it. When marked as @Optional, the parameter should get a default value; which is in this case would be 0 or null dependending on the type of the parameter. This should be fixed in the JavaNativeModule class. I'll take care of that.

5 years ago

stan merged pull request ZenScript/ZenScript#13

Fix maps expecting a class instead of an interface

5 years ago

stan closed pull request ZenScript/ZenScript#13

Fix maps expecting a class instead of an interface

5 years ago

stan pushed to development at ZenScript/ZenScript

  • c3b948d8fe Fixed support for optional parameters. Also implemented java integration for them.

5 years ago

stan commented on issue ZenScript/ZenScript#10

Java Native: Inner classes' Name

I believe option 2 would be best, to translate these classes into what they actually are, inner classes.

5 years ago

stan pushed to development at ZenScript/ZenScript

  • a86086cdec Added native loader to resolve dependencies between native modules.

5 years ago

stan pushed to development at ZenScript/ZenScript

5 years ago

stan pushed to development at ZenScript/ZenScript

  • 5ea804b3d3 Fix method signatures containing only the short name instead of full class name.

5 years ago

stan pushed to development at ZenScript/ZenScript

  • 7844dea790 Removed unused files.
  • 9494ef212e Functional Wrappers, Bridge Methods, Type descriptor fix Functional interface wrappers should work now Implementing a method with a signature differing from the actual one (e.g. when dealing with generics) now creates a proper bridge method The Java Bytecde compiler used an incorrect method in checkCast We now no longer use hardcoded 'accept's as method names but whatever the context tells us to.
  • 177b59341d Merge remote-tracking branch 'Stan/development' into development
  • b8be41d1a2 Formatted Functional Interface Wrapper creations
  • 82eb1d61eb Merge remote-tracking branch 'Stan/development' into WIP/functionalInterfaces
  • Compare 9 commits »

5 years ago

stan pushed to development at ZenScript/ZenScript

  • 00e09fc358 Fix modifiers on functional interfaces

5 years ago

stan pushed to development at ZenScript/ZenScript

  • 5f9aac70c8 Added missing update to JavaNativeModule

5 years ago

stan pushed to development at ZenScript/ZenScript

  • e909486bf3 Added utility method to retrieve the functional interface method from a type.

5 years ago

stan pushed to development at ZenScript/ZenScript

  • 70bd868af4 Added support for functional interfaces.

6 years ago