Skip to content

Commit

Permalink
@:enum -> enum
Browse files Browse the repository at this point in the history
  • Loading branch information
Simn committed Jan 12, 2024
1 parent 95a0405 commit 9863702
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/haxelib/Data.hx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ using StringTools;
using Lambda;

/** The level of strictness with which a `haxelib.json` check is performed. **/
@:enum abstract CheckLevel(Int) {
enum abstract CheckLevel(Int) {
/** No check is performed. **/
var NoCheck = 0;
/** Only the syntax of the file is checked. **/
Expand Down Expand Up @@ -183,7 +183,7 @@ typedef DefineDocumentation = {
}

/** An abstract enum representing the different Licenses a project can have. **/
@:enum abstract License(String) to String {
enum abstract License(String) to String {
var Gpl = 'GPL';
var Lgpl = 'LGPL';
var Mit = 'MIT';
Expand Down
2 changes: 1 addition & 1 deletion src/haxelib/VersionData.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package haxelib;

/** Abstract enum representing the types of Vcs systems that are supported. **/
@:enum abstract VcsID(String) to String {
enum abstract VcsID(String) to String {
var Hg = "hg";
var Git = "git";

Expand Down

0 comments on commit 9863702

Please sign in to comment.