-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
If a class-module companion pair have a single end marker, ensure there are no intervening statements.
// intended
class C:
def f = 42
def g = 27
object C:
def check(c: C) = assert(c.f == 42)
end C
but
// unintentionally
class C:
def f = 42
def g = 27 // warn indentation
object C:
def check(c: C) = assert(c.f == 42)
end C
He-Pin
Metadata
Metadata
Assignees
Labels
No labels