diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2014-02-17 19:35:17 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2014-02-18 09:23:38 +0100 |
commit | 00283e6d8dfb9d884e9598b96fb7b3b5f5600ee3 (patch) | |
tree | 8253a467fdefb0179f90dce49ecaa437daf9ed6c /test/files/run/t7223.scala | |
parent | afecfe90cd98a657ce83f3e833c940518563064e (diff) | |
download | scala-00283e6d8dfb9d884e9598b96fb7b3b5f5600ee3.tar.gz scala-00283e6d8dfb9d884e9598b96fb7b3b5f5600ee3.tar.bz2 scala-00283e6d8dfb9d884e9598b96fb7b3b5f5600ee3.zip |
makes sure compat._ provides full compatibility with 2.10.x
This is extremely important to enable cross-versioning Scala 2.10 codebases
against Scala 2.11 using Jason's trick with:
// TODO 2.11 Remove this after dropping 2.10.x support.
private object HasCompat { val compat = ??? }; import HasCompat._
def impl(c: Context)(...): ... = {
import c.universe._
import compat._
...
}
Diffstat (limited to 'test/files/run/t7223.scala')
0 files changed, 0 insertions, 0 deletions