Daniele Mancini

Results 5 issues of Daniele Mancini

I have encountered an issue compiling a lambda using a closure in a nested lambda. This is the expression I am trying to generate and compile (the `getOrNull` method, included...

The `CodeGenerator` tries to identify an `Enum` field using `toString`. This can fail if the `toString` method of the field has been customized (e.g. [ChronoUnit](https://github.com/frohoff/jdk8u-jdk/blob/master/src/share/classes/java/time/temporal/ChronoUnit.java)). I suppose that the following...

The check to ensure the method singature of a method-based `UnaryExpression` expression is probably not correct. The current method is https://github.com/mstrobel/procyon/blob/fec0d7ae031403b4a56fc2f2fd801fc6d416305a/Procyon.Expressions/src/main/java/com/strobel/expressions/Expression.java#L3200-L3230 which means that the coercion method must be: -...

Numeric types are not handled consistently when trying to initialize arrays. In general, trying to initialize a `Number[]` fails with both primitive and reference numeric types, but with different errors....

Trying to invoke the static generic method ``` java Map.of(K k1, V v1, K k2, V v2) ``` produces an "Illegal type in constant pool" error during the lambda class...