Skip to content

Commit

Permalink
fix: handling of primitive types is now more robust.
Browse files Browse the repository at this point in the history
  • Loading branch information
iocanel committed Nov 27, 2020
1 parent f0eb861 commit 9e0405a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class TypeRefTypeVisitor extends AbstractTypeVisitor6<TypeRef, Integer> {

public TypeRef visitPrimitive(PrimitiveType t, Integer dimension) {
return new PrimitiveRefBuilder()
.withName(t.toString())
.withName(t.getKind().name().toLowerCase())
.withDimensions(dimension)
.build();
}
Expand Down

0 comments on commit 9e0405a

Please sign in to comment.