Open MikeStall opened 1 year ago
Have IR leverage Binder.TryGetConstantValue. This function exists and is used by PAClient to do constant folding for strings.
Ie, at compile time, it will translate "A" & "B" into a single string "AB". This is only used by PAClient today, so it's a test hole.
"A" & "B"
"AB"
Call it from IR some that:
Carlos used in #866, so that address the test coverage issue. So marking this as low pri.
Have IR leverage Binder.TryGetConstantValue. This function exists and is used by PAClient to do constant folding for strings.
Ie, at compile time, it will translate
"A" & "B"
into a single string"AB"
. This is only used by PAClient today, so it's a test hole.Call it from IR some that: