File tree Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -21,16 +21,9 @@ public static class Raw{
2121
2222 public static status Eval ( status s ) => s ;
2323
24- #if AL_OPTIMIZE
25- //public static status undef => throw new Unimplemented();
26- //public static status undef_done => throw new Unimplemented();
27- //public static status undef_cont => throw new Unimplemented();
28- //public static status undef_fail => throw new Unimplemented();
29- #else
30- public static status undef = status . _fail ;
31- public static status undef_done = status . _done ;
32- public static status undef_cont = status . _cont ;
33- public static status undef_fail = status . _fail ;
24+ #if ! AL_OPTIMIZE
25+ public static status undef ( ) => status . _fail ;
26+ public static status undef ( status s ) => s ;
3427 #endif
3528
3629 public static action Do ( object arg ) => @void ;
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ [Test] public void Standard(){
2727
2828 #if ! AL_OPTIMIZE
2929 [ Test ] public void Undef ( ) {
30- o ( undef . failing ) ;
31- o ( undef_done . complete ) ;
32- o ( undef_cont . running ) ;
33- o ( undef_fail . failing ) ;
30+ o ( undef ( ) . failing ) ;
31+ o ( undef ( done ) . complete ) ;
32+ o ( undef ( cont ) . running ) ;
33+ o ( undef ( fail ) . failing ) ;
3434 }
3535 #endif
3636
You can’t perform that action at this time.
0 commit comments