sbt/main-settings/src
Rikito Taniguchi 10f98e6c01
[2.x] Fix macro expand for HKT type arguments (#9377)
Def.setting and Def.task macro expansion looks for internal wrapper
call generated for .value.

It visits all function calls in the macro. If the block contains
functions call whose type parameter is HKT, macro expansion crashed.

Macro expansion tries to match IO against '[a], and failed with MatchError.

This commit adds wildcard pattern, and leave unmatched type arguments unchanged.
2026-06-24 21:22:11 -04:00
..
main/scala/sbt [2.x] ci: Scalafmt 3.11.1 (#9279) 2026-05-31 16:01:15 -04:00
test/scala/sbt [2.x] Fix macro expand for HKT type arguments (#9377) 2026-06-24 21:22:11 -04:00