-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix crash block capturing expressions #551
Conversation
@@ -12,6 +12,7 @@ import mdoc.Reporter | |||
import mdoc.internal.cli.InputFile | |||
import java.nio.file.Path | |||
import mdoc.internal.cli.Settings | |||
import scala.collection.immutable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import scala.collection.immutable |
.append(") {\n") | ||
|
||
section.source.stats.foreach { stat => | ||
sb.append(stat.pos.text).append("\n") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might want to add a semicolon just in case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
2ca7b59
to
a4f927d
Compare
a4f927d
to
e3cdf6c
Compare
I'm just fighting exact same problem as @tgodzik was: #512 (comment) |
Closes #527
Putting this on CI to make sure it's not my laptop that is behaving weirdly (it fixes the original issue, btw)
TODO: