mirror of https://github.com/sbt/sbt.git
Avoid postfix op without feature import
This commit is contained in:
parent
f000f2b39c
commit
93e9876b1a
|
|
@ -149,7 +149,7 @@ abstract class Compat {
|
|||
import analyzer._ // this is where MEA lives in 2.11.x
|
||||
tree.attachments.all.collect {
|
||||
case att: MacroExpansionAttachment => att.expandee
|
||||
} headOption
|
||||
}.headOption
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue