Skip to content

Commit

Permalink
remove more override for abstract method implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
nadako committed Dec 23, 2020
1 parent 0639d44 commit 323a9fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/unit/src/unit/issues/Issue9619.hx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ private class ConcreteOverloadChild extends AbstractOverloadParent {
}

@:overload
override function abstractFunction():Void {}
function abstractFunction():Void {}

@:overload
override function abstractFunction(i:Int):Void {}
function abstractFunction(i:Int):Void {}
}

private interface InterfaceToBeImplemented {
Expand All @@ -35,12 +35,12 @@ abstract class AbstractThatImplementsInterface implements InterfaceToBeImplement

class ConcreteChildThatImplements extends AbstractThatImplementsInterface {
@:overload
public override function toBeImplemented() {
public function toBeImplemented() {
return true;
}

@:overload
public override function toBeImplemented(i:Int) {
public function toBeImplemented(i:Int) {
return i * 2;
}
}
Expand Down

0 comments on commit 323a9fa

Please sign in to comment.