illegal start of simple expression: Token(RPAREN,),57,))
though when this appears elsewhere in otherwise production code, the error may be
expected start of definition, but was Token(VAL,val,22414,val)
Interestingly, the Scala compiler doesn't mind this at all.
Incidentally, would keeping track of the line number as part of this error be feasible? Fortunately dd if=.../MyFile.scala bs=1 count=100 skip=22414 made quick work of it, but I'm wondering if these exceptional cases couldn't be made easier to debug, possibly leading to straightforward reproduction cases as well.
Minimal reproducing case:
yields:
though when this appears elsewhere in otherwise production code, the error may be
Interestingly, the Scala compiler doesn't mind this at all.
Incidentally, would keeping track of the line number as part of this error be feasible? Fortunately
dd if=.../MyFile.scala bs=1 count=100 skip=22414
made quick work of it, but I'm wondering if these exceptional cases couldn't be made easier to debug, possibly leading to straightforward reproduction cases as well.Thank you for your work