Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
I'm pleased to announce that Git conflict markers are parsed as valid Scala (twitter.com/kubukoz)
11 points by RustyBucket on Nov 9, 2022 | hide | past | favorite | 1 comment


Spoiler:

OP defines the functions `<<<<<<<`, `=======`, and `>>>>>>>` to make this work.

Still cool, but shows it has to be intentional, there's no chance that your code will randomly compile cleanly with conflict markers.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: