Skip to content

Commit

Permalink
[tests] disable analyzer only on some functions
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao committed Apr 5, 2024
1 parent 32a2501 commit 3c8b43d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/unit/src/unit/TestOps.hx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package unit;

@:analyzer(ignore)
class TestOps extends Test {

public function testOps()
Expand Down Expand Up @@ -104,6 +103,7 @@ class TestOps extends Test {

#if target.static

@:analyzer(ignore)
function testNullOps() {
var a:Null<Int> = 10;
// arithmetic
Expand Down Expand Up @@ -164,6 +164,7 @@ class TestOps extends Test {

#if !flash // Will not fix for flash

@:analyzer(ignore)
function testNadakoOps() {
// bool
var nullBool:Null<Bool> = null;
Expand Down Expand Up @@ -258,6 +259,7 @@ class TestOps extends Test {

#end

@:analyzer(ignore)
function testDynamicOps() {
var a:Dynamic = 10;
// arithmetic
Expand Down

0 comments on commit 3c8b43d

Please sign in to comment.