This repository has been archived by the owner on Apr 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for injecting super call in fragment constructor
- Loading branch information
Showing
2 changed files
with
93 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,33 @@ | ||
package example; | ||
|
||
class SomeClass | ||
class SomeClass extends SomeSuperClass | ||
{ | ||
public var someProperty:Int; | ||
|
||
public function new() | ||
{ | ||
|
||
super(); | ||
someSuperProperty = 2; | ||
someProperty = 1; | ||
} | ||
|
||
// override public function someMethod() | ||
// { | ||
// super.someMethod(); | ||
// } | ||
} | ||
|
||
class SomeSuperClass | ||
{ | ||
public var someSuperProperty:Int; | ||
|
||
public function new() | ||
{ | ||
someSuperProperty = 1; | ||
} | ||
|
||
public function someMethod() | ||
{ | ||
someSuperProperty *= -1; | ||
} | ||
} |