Skip to content

Commit

Permalink
improve Haxe 4.3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed May 6, 2023
1 parent 40a828f commit 5b2fc71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hx/concurrent/Service.hx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ abstract class ServiceBase implements Service<Int> {


public function toString():String {
#if js @:nullSafety(Off) #end
@:nullSafety(Off)
return Type.getClassName(Type.getClass(this)) + "#" + id;
}
}
2 changes: 1 addition & 1 deletion src/hx/concurrent/executor/Schedule.hx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ enum Schedule {
}


@:enum
#if (haxe_ver < 4.3) @:enum #else enum #end
abstract ScheduleWeekday(Int) from Int to Int {
public var SUNDAY = 0;
public var MONDAY = 1;
Expand Down

0 comments on commit 5b2fc71

Please sign in to comment.