diff options
author | Paul Phillips <paulp@improving.org> | 2012-01-26 13:19:41 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-01-26 13:22:35 -0800 |
commit | 9b9fb2cad46041c6cf101ec436b643e3e922bd35 (patch) | |
tree | ccc529d6cc47ff759bdc6a13e6c8e3222dd9fdcc /src/compiler | |
parent | 67420a8fa31c4570542450238b97e5ca1b54a86f (diff) | |
download | scala-9b9fb2cad46041c6cf101ec436b643e3e922bd35.tar.gz scala-9b9fb2cad46041c6cf101ec436b643e3e922bd35.tar.bz2 scala-9b9fb2cad46041c6cf101ec436b643e3e922bd35.zip |
Disabled "not found" suggestions.
The benchmarks charts are confusing me and I want to rule it out
as a problem by not having it exist for a while.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala b/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala index 8af8bbc6ca..6ee09d064f 100644 --- a/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala +++ b/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala @@ -171,6 +171,8 @@ trait ContextErrors { NormalTypeError(tree, "reference to " + name + " is ambiguous;\n" + msg) def SymbolNotFoundError(tree: Tree, name: Name, owner: Symbol, startingIdentCx: Context) = { + /*** Disabled pending investigation of performance impact. + // This laborious determination arrived at to keep the tests working. val calcSimilar = ( name.length > 2 && ( @@ -196,6 +198,8 @@ trait ContextErrors { similarString("" + name, allowedStrings) } } + */ + val similar = "" NormalTypeError(tree, "not found: "+decodeWithKind(name, owner) + similar) } |