scala plugin compile error

The Scala plugin recently stopped compiling for me. This is master branch, commit ID a73fb245.

Here is the error message:


make.project:
    [mkdir] Created dir: /Users/tdyas/Code/scala-plugin/classes/production/Scala
    [mkdir] Created dir: /Users/tdyas/Code/scala-plugin/classes/production/Scala/META-INF
    [mkdir] Created dir: /Users/tdyas/Code/scala-plugin/classes/production/Runners
     [copy] Copying 4 files to /Users/tdyas/Code/scala-plugin/classes/production/Scala/META-INF
     [copy] Copying 41 files to /Users/tdyas/Code/scala-plugin/classes/production/Scala
    [javac] /Users/tdyas/Code/scala-plugin/build.xml:128: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 10 source files to /Users/tdyas/Code/scala-plugin/classes/production/Runners
    [javac] Note: /Users/tdyas/Code/scala-plugin/Runners/src/org/jetbrains/plugins/scala/compiler/rt/ConsoleRunner.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
   [scalac] Compiling 1156 scala and 116 java source files to /Users/tdyas/Code/scala-plugin/classes/production/Scala
   [scalac] /Users/tdyas/Code/scala-plugin/src/org/jetbrains/plugins/scala/annotator/intention/ScalaImportClassFix.scala:274: error: too many arguments for method isInExcludedPackage: (x$1: com.intellij.psi.PsiMember)Boolean
   [scalac]           !JavaCompletionUtil.isInExcludedPackage(clazz, true)) {
   [scalac]                                                  ^
   [scalac] /Users/tdyas/Code/scala-plugin/src/org/jetbrains/plugins/scala/lang/completion/ScalaClassNameCompletionContributor.scala:54: error: too many arguments for method isInExcludedPackage: (x$1: com.intellij.psi.PsiMember)Boolean
   [scalac]           JavaCompletionUtil.isInExcludedPackage(psiClass, true)
   [scalac]                                                 ^
   [scalac] /Users/tdyas/Code/scala-plugin/src/org/jetbrains/plugins/scala/lang/completion/ScalaCompletionContributor.scala:63: error: too many arguments for method isInExcludedPackage: (x$1: com.intellij.psi.PsiMember)Boolean
   [scalac]                         JavaCompletionUtil.isInExcludedPackage(clazz, true)
   [scalac]                                                               ^
   [scalac] three errors found


My scala.properties is as follows:

build.number=0.7.1
idea.home=/Applications/IntelliJ\ IDEA\ 11.app
jdk.home=/System/Library/Frameworks/JavaVM.framework/Home
scala.lib=/usr/local/Cellar/scala/2.9.1/libexec/lib


Operating system is Mac OS X 10.7.2

Thoughts?
2 comments
Comment actions Permalink

Taras is right. You should update IntelliJ IDEA to the latest IDEA 11.1 EAP.

Best regards,
Alexander Podkhalyuzin.

0

Please sign in to leave a comment.