eugene yokota
eugene yokota
Oops, it seems like I have a typo in my plugin - https://github.com/eed3si9n/ifdef/blob/main/plugin/src/main/scala/IfDefPlugin.scala#L16 ```scala Compile / ifDefDeclations += "foo" ``` might work (until I fix the typo).
Yea, I think so: ```scala sbt:ifdef> show Compile/scalacOptions [info] * -Xplugin:/Users/xxx/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/eed3si9n/ifdef/ifdef-plugin_2.13/0.3.0/ifdef-plugin_2.13-0.3.0.jar [info] * -Xmacro-settings [info] * com.eed3si9n.ifdef.declare:compile [info] * -Xmacro-settings [info] * com.eed3si9n.ifdef.declare:scalaBinaryVersion:2.13 [info] * -Xmacro-settings [info] * com.eed3si9n.ifdef.declare:foo ```
Not working yet, but I have a draft PR - https://github.com/sbt/sbt-native-packager/pull/1647
Here's an offshoot PR to migrate the unicode arrow - https://github.com/sbt/sbt-native-packager/pull/1648
https://github.com/sbt/sbt-native-packager/pull/1647 is green.
https://github.com/sbt/sbt-native-packager/pull/1647 has landed and https://github.com/sbt/sbt-native-packager/releases/tag/v1.11.0 is released. Special thanks to @jtjeferreira on the ground work on getting all the tests to pass in https://github.com/eed3si9n/sbt-native-packager/pull/1
Likely relevant code for this is https://github.com/sbt/launcher/blob/8b2c303fda12a6c783047d6a5fda9e96e3853581/launcher-implementation/src/main/scala/xsbt/boot/Configuration.scala#L130-L133
Maybe try binary search to minimize the example, and/or git bisect to find out when this has occurred. If you go back to earlier tags in https://github.com/tree-sitter/tree-sitter-scala/releases does the problem...
@ObserverOfTime Thanks! So the relevant PR is https://github.com/tree-sitter/tree-sitter-scala/pull/350 where `_if_condition` precedence became dynamic.
The regression in smoke test is on BigInt.scala, which kind of looks like the following: ```scala class A { def bar(that: A): A = if (true) A(1) else 2 def...