diff options
author | Martin Odersky <odersky@gmail.com> | 2007-02-02 18:16:08 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2007-02-02 18:16:08 +0000 |
commit | 828377d9c0c86471a1c18ba11ff13460400729cf (patch) | |
tree | 9b368a14e396e5c781bf6f62dd41edb5f6597b05 /src/compiler/scala/tools/nsc/typechecker/Namers.scala | |
parent | ffa9da234de5621dfc6d8e760b5368ca68a6520f (diff) | |
download | scala-828377d9c0c86471a1c18ba11ff13460400729cf.tar.gz scala-828377d9c0c86471a1c18ba11ff13460400729cf.tar.bz2 scala-828377d9c0c86471a1c18ba11ff13460400729cf.zip |
deprecated checks moved to refchecks.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Namers.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Namers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Namers.scala b/src/compiler/scala/tools/nsc/typechecker/Namers.scala index eb803266e0..2bc9023485 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Namers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Namers.scala @@ -696,7 +696,7 @@ trait Namers requires Analyzer { if (tpt.tpe.symbol.hasFlag(JAVA) && settings.target.value == "jvm-1.4") { context.unit.warning (t.pos, "Java annotation will not be emitted in classfile unless you use the '-target:jvm-1.5' option") } - Triple(tpt.tpe, constrArgs, nvPairs) + AttrInfo(tpt.tpe, constrArgs, nvPairs) } } if (!attrError) { |