Skip to content

Commit

Permalink
Fix for weird javac crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Grégoire Neuville committed Sep 27, 2019
1 parent fa1c9cf commit df21885
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ public DeriveResult<BoundExpression> instanceInitializer(TypeElement typeElement
.add(asTypeArguments(method.getTypeParameters()
.stream()
.map(tpe -> asTypeVariable.visit(tpe.asType()).get())
.map(typeArgs::get)))
.map(key -> typeArgs.get(key)))) // crash du compilo si method ref (bug openjdk ?)
.add("$L(", method.getSimpleName())
.add(cb)
.add(")")
Expand Down

0 comments on commit df21885

Please sign in to comment.