mirror of https://github.com/sbt/sbt.git
Merge pull request #4132 from som-snytt/issue/compat-postfix
Avoid postfix op without feature import
This commit is contained in:
commit
5456eb5ec9
|
|
@ -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