fix pretty-printing of number literals

This commit is contained in:
Erik Krogh Kristensen
2020-10-15 13:04:52 +02:00
parent 1d4a605517
commit 2a5dd2c8a3

View File

@@ -550,7 +550,7 @@ private module PrettyPrinting {
or
a instanceof Ellipsis and result = "..."
or
result = a.(Num).toString()
result = a.(Num).getText()
or
result = a.(NegativeIntegerLiteral).getValue().toString()
or