twirl
twirl copied to clipboard
Fix problems regarding Scala 3 and sourcePositionMapper
See
- https://github.com/playframework/twirl/pull/461#issuecomment-1066378493
- https://github.com/lampepfl/dotty/issues/14691
- https://github.com/sbt/zinc/issues/1074#issuecomment-1073247308
Following commit could then be reverted eventually: https://github.com/playframework/twirl/commit/e892f83f9b97a56cddafd50e59bd88f9bbaf8557
The pull request I sent to sbt/zinc has been merged. Hopefully, the next release will fix the problem.
@tototoshi Nice :+1: BTW, did you see https://github.com/sbt/sbt/discussions/6868, I didn't look into all of that, however has this something to do with our problem?
Yes, I am interested in this proposal. I don't think that this proposal can be a solution to our problem with sourcePositionMappers. However, it will be a help to make Twirl error messages more friendly in the future.