Skip to content

Commit 2dcf133

Browse files
committed
add newline at the end of 'messages.scala'
1 parent 08ddbac commit 2dcf133

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/src/dotty/tools/dotc/reporting/messages.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2938,7 +2938,7 @@ class ClosureCannotHaveInternalParameterDependencies(mt: Type)(using Context)
29382938
i"""cannot turn method type $mt into closure
29392939
|because it has internal parameter dependencies"""
29402940
def explain(using Context) = ""
2941-
2941+
29422942
class ToplevelDefCantBeInfix(sym: Symbol)(using Context)
29432943
extends SyntaxMsg(ToplevelDefCantBeInfixID):
29442944
def msg(using Context) = i"a toplevel $defName cannot be infix"
@@ -2948,3 +2948,4 @@ class ToplevelDefCantBeInfix(sym: Symbol)(using Context)
29482948
else if sym.flags.is(Mutable) then "var"
29492949
else if sym.flags.is(Given) then "given"
29502950
else "val"
2951+

0 commit comments

Comments
 (0)