We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e04797 commit 2e664b9Copy full SHA for 2e664b9
hkmc2/shared/src/main/scala/hkmc2/utils/Scope.scala
@@ -96,7 +96,9 @@ class Scope
96
case t: syntax.Tree.TypeDef => t.head.toLoc
97
.flatten.orElse(l.toLoc)
98
case other => other.toLoc
99
- raise(ErrorReport(msg"No definition found in scope for: ${l.toString} (${l.getClass.toString})" -> loc :: Nil,
+ raise(ErrorReport(msg"No definition found in scope for '${l.nme}'" -> loc :: Nil,
100
+ extraInfo = Some(l -> l.getClass),
101
+ source = Diagnostic.Source.Compilation))
102
source = Diagnostic.Source.Compilation))
103
l.nme
104
0 commit comments