Compare commits

...

1 Commits

Author SHA1 Message Date
Chris Smowton
0a7d27a976 Update 2022-03-07-get-stringified-value.md 2022-03-11 10:36:57 +00:00

View File

@@ -3,4 +3,6 @@ category: minorAnalysis
---
* Add new predicate `CompileTimeConstantExpr.getStringifiedValue` which attempts to compute the
`String.valueOf` string rendering of a constant expression. This predicate is now used to
compute the string value of an `AddExpr` that has the type `String`.
compute the string value of an `AddExpr` that has the type `String`. `getStringValue` now
once again only works for expressions of type `String`, and specifically does not work for
character literals.