Kyle Moore
Kyle Moore
A BOM (bill-of-materials) is a special POM containing only the `` block. This allows consumers to import a specific version of the BOM dependency, but then omit version numbers when...
Extension of #20310 , but enables native integration tests on M1. The production code changes are mercifully small: - `MachineArchitecture.java` - defines a new AMD64 attribute - `GenerateXcodeProjectFileTask.java` - samples...
Using `v1.14.10`, consider the following program: RunMe.gsp ``` classpath "/home/kmoore/.m2/repository/junit/junit/4.12/junit-4.12.jar" uses org.junit.runner.Computer var x = Computer.serial() print(x) ``` When invoking this program via `$ bin/gosu RunMe.gsp`, a parse results exception...
Lab v1.14.10 The parser incorrectly reports an enhancement method on an interface is missing when the method is being invoked on an anonymous instantiation of the interface. 1. Create an...
IFoo.java ```java public interface IFoo { T clonePlan(T bar); } ``` Foo.gs ```gosu class Foo implements IFoo { override reified function clonePlan(bar : T) : T { print("in clonePlan") return...
Lab is not refreshing the TypeSystem when enhancing classes. Steps to reproduce: 1. Delete the `.GosuLab` folder in your user home 2. Start lab 3. Create a new class, `scratch.Foo`....
See example: ``` static class Foo { protected var _inner : Bar class Bar { public var _something : E } } var x = new Foo() var s: String...
In Lab, create three files: 1) Java type MuhAnnotation ``` package scratch; @java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Inherited public @interface MuhAnnotation { public MuhSubAnnotation[] muhSubs() default {@MuhSubAnnotation("")}; } ``` 2) Java type MuhSubAnnotation...
Above class implictly imports "Charge", which can be a naming conflict in Guidewire Gosu with "entity.Charge".