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 08ddbac commit 2dcf133Copy full SHA for 2dcf133
compiler/src/dotty/tools/dotc/reporting/messages.scala
@@ -2938,7 +2938,7 @@ class ClosureCannotHaveInternalParameterDependencies(mt: Type)(using Context)
2938
i"""cannot turn method type $mt into closure
2939
|because it has internal parameter dependencies"""
2940
def explain(using Context) = ""
2941
-
+
2942
class ToplevelDefCantBeInfix(sym: Symbol)(using Context)
2943
extends SyntaxMsg(ToplevelDefCantBeInfixID):
2944
def msg(using Context) = i"a toplevel $defName cannot be infix"
@@ -2948,3 +2948,4 @@ class ToplevelDefCantBeInfix(sym: Symbol)(using Context)
2948
else if sym.flags.is(Mutable) then "var"
2949
else if sym.flags.is(Given) then "given"
2950
else "val"
2951
0 commit comments