Skip to content

Commit

Permalink
remove returns and do proper fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Fancy2209 committed Feb 23, 2024
1 parent 55550bf commit b2f93a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/openfl/display/DisplayObject.as
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ package openfl.display {
*/

public function get x ():Number { return 0; }
public function set x (value:Number):Number;
public function set x (value:Number):Number {};

/**
* Indicates the _y_ coordinate of the DisplayObject instance relative
Expand All @@ -757,7 +757,7 @@ package openfl.display {
*/

public function get y ():Number { return 0; }
public function set y (value:Number):Number;
public function set y (value:Number):Number {};

// #if flash
// @:noCompletion @:dox(hide) @:require(flash10) var z:Number { return 0; }
Expand Down

0 comments on commit b2f93a6

Please sign in to comment.