File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
tests/unit/src/unit/issues Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -633,6 +633,9 @@ let get_config com =
633633 pf_add_final_return = true ;
634634 pf_supports_threads = true ;
635635 pf_supports_unicode = (defined Define. Cppia ) || not (defined Define. DisableUnicodeStrings );
636+ pf_exceptions = { default_config.pf_exceptions with
637+ ec_avoid_wrapping = false
638+ };
636639 pf_scoping = { default_config.pf_scoping with
637640 vs_flags = [NoShadowing ];
638641 vs_scope = FunctionScope ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package unit.issues;
33import utest .Assert ;
44
55class Issue12047 extends Test {
6- static function test () {
6+ function test () {
77 try {
88 throwCatchWrap ();
99 } catch (err : Issue12047 ) {
Original file line number Diff line number Diff line change @@ -3,9 +3,10 @@ package unit.issues;
33class Issue6059 extends Test {
44 public static inline function foo (name : B , ? id : B , data : Array <String >) : Void { }
55
6- public static function test () : Void {
6+ function test () : Void {
77 Issue6059 .foo (" " , []); // -> stackoverflow
88 Issue6059 .foo (" " , null , []); // ok
9+ utest. Assert .pass ();
910 }
1011}
1112
You can’t perform that action at this time.
0 commit comments