Skip to content
This repository
Browse code

SI-8126 Puts SI-7335 fix behind a source level flag

  • Loading branch information...
commit 94e05a85013df444badef0c8b00503d71408ed08 1 parent 6dd3653
François Garillot authored December 19, 2013
2  src/compiler/scala/tools/nsc/typechecker/Typers.scala
@@ -1793,7 +1793,7 @@ trait Typers extends Adaptations with Tags with TypersTracking with PatternTyper
1793 1793
 
1794 1794
       val impl2  = finishMethodSynthesis(impl1, clazz, context)
1795 1795
 
1796  
-      if (mdef.symbol == PredefModule)
  1796
+      if (settings.isScala211  && mdef.symbol == PredefModule)
1797 1797
         ensurePredefParentsAreInSameSourceFile(impl2)
1798 1798
 
1799 1799
       // SI-5954. On second compile of a companion class contained in a package object we end up

1 note on commit 94e05a8

scala-jenkins
Collaborator

Job pr-scala failed for 94e05a8 Took 292 min. (ping @huitseeker) (results):


To retry exactly this commit, comment "PLS REBUILD/pr-scala@94e05a8" on PR 3340.
NOTE: New commits are rebuilt automatically as they appear. A forced rebuild is only necessary for transient failures.

Please sign in to comment.
Something went wrong with that request. Please try again.