Multiline string and `#`
mauro3 opened this issue · 3 comments
mauro3 commented
In a multiline string a #
shouldn't do anything. E.g. this errors:
"""
A fn
# Example
An ex.
"""
f(x) = 1
with ERROR: LoadError: LoadError: syntax: incomplete: invalid string syntax in expression starting at string:1
Work-around
"""
A fn
## Example
An ex.
"""
f(x) = 1
Note, this is not tied to doc-strings but in general multi-line strings.
fredrikekre commented
I don't think this can be easily fixed without a Julia parser...
mauro3 commented
I see, no worries.