diff --git a/flixel/system/debug/console/ConsoleUtil.hx b/flixel/system/debug/console/ConsoleUtil.hx index d52d5241ad..ae78b304ff 100644 --- a/flixel/system/debug/console/ConsoleUtil.hx +++ b/flixel/system/debug/console/ConsoleUtil.hx @@ -120,7 +120,7 @@ class ConsoleUtil else if (Reflect.isObject(Object)) // get instance fields fields = Type.getInstanceFields(Type.getClass(Object)); - // on Flash, enums are classes, so Std.is(_, Enum) fails + // on Flash, enums are classes, so Std.isOfType(_, Enum) fails fields.remove("__constructs__"); var filteredFields = []; diff --git a/flixel/util/typeLimit/OneOfFour.hx b/flixel/util/typeLimit/OneOfFour.hx index bac25d240b..ad92714037 100644 --- a/flixel/util/typeLimit/OneOfFour.hx +++ b/flixel/util/typeLimit/OneOfFour.hx @@ -3,7 +3,7 @@ package flixel.util.typeLimit; /** * Useful to limit a Dynamic function argument's type to the specified * type parameters. This does NOT make the use of Dynamic type-safe in - * any way (the underlying type is still Dynamic and Std.is() checks + + * any way (the underlying type is still Dynamic and Std.isOfType() checks + * casts are necessary). */ abstract OneOfFour(Dynamic) from T1 from T2 from T3 from T4 to T1 to T2 to T3 to T4 {} diff --git a/flixel/util/typeLimit/OneOfThree.hx b/flixel/util/typeLimit/OneOfThree.hx index e51307f062..a055a3bfda 100644 --- a/flixel/util/typeLimit/OneOfThree.hx +++ b/flixel/util/typeLimit/OneOfThree.hx @@ -3,7 +3,7 @@ package flixel.util.typeLimit; /** * Useful to limit a Dynamic function argument's type to the specified * type parameters. This does NOT make the use of Dynamic type-safe in - * any way (the underlying type is still Dynamic and Std.is() checks + + * any way (the underlying type is still Dynamic and Std.isOfType() checks + * casts are necessary). */ abstract OneOfThree(Dynamic) from T1 from T2 from T3 to T1 to T2 to T3 {} diff --git a/flixel/util/typeLimit/OneOfTwo.hx b/flixel/util/typeLimit/OneOfTwo.hx index 5eff2d3f27..0ffebc9bd4 100644 --- a/flixel/util/typeLimit/OneOfTwo.hx +++ b/flixel/util/typeLimit/OneOfTwo.hx @@ -3,7 +3,7 @@ package flixel.util.typeLimit; /** * Useful to limit a Dynamic function argument's type to the specified * type parameters. This does NOT make the use of Dynamic type-safe in - * any way (the underlying type is still Dynamic and Std.is() checks + + * any way (the underlying type is still Dynamic and Std.isOfType() checks + * casts are necessary). */ abstract OneOfTwo(Dynamic) from T1 from T2 to T1 to T2 {}