Skip to content

Commit 3f4d54f

Browse files
committed
WIP
1 parent dd69938 commit 3f4d54f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sips/pending/_posts/2016-01-01-static-members.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ If implemented in dotty code base, such modifications would be needed:
5050
- extend LambdaLift to trigger error if `@static` annotated method cannot be lifted to top level scope;
5151
- extend GenBCode to emmit static fields and methods in companion classes and forwarders to them in companion modules.
5252

53-
## Overriding of inherited @static members ##
53+
## Overriding of @static members is not allowed##
5454
Java allows classes to define static methods with same name and signature as a static method of superclass. In order to define semantics of what does it mean,
5555
Java Specification introduces a notion of [hiding](http://docs.oracle.com/javase/specs/jls/se8/html/jls-8.html#jls-8.4.8.2).
5656

0 commit comments

Comments
 (0)