Closed softmattertheory closed 10 months ago
Describe the bug An empty string interpolation raises an error
To Reproduce Steps to reproduce the behavior:
print "${}"
raises: Error 'IntrpIncmp' [line 1 char 11] : Incomplete string after interpolation.
Expected behavior Should parse correctly and print an empty string (or whatever is after the interpolation).
Additional context Tested in 0.5.7
This bug has been fixed in morpho 6 by https://github.com/Morpho-lang/morpho-libmorpho/pull/17
Describe the bug An empty string interpolation raises an error
To Reproduce Steps to reproduce the behavior:
raises: Error 'IntrpIncmp' [line 1 char 11] : Incomplete string after interpolation.
Expected behavior Should parse correctly and print an empty string (or whatever is after the interpolation).
Additional context Tested in 0.5.7