Browse Source

bring back gitkeep and delete more stuff

Simon Krajewski 1 year ago
parent
commit
63495cb5e1
66 changed files with 0 additions and 682 deletions
  1. 0 1
      tests/misc/cs/csTwoLibs/.gitignore
  2. 0 7
      tests/misc/cs/csTwoLibs/Lib1.hx
  3. 0 22
      tests/misc/cs/csTwoLibs/Main.hx
  4. 0 17
      tests/misc/cs/csTwoLibs/compile-1.hxml
  5. 0 20
      tests/misc/cs/csTwoLibs/compile-2.hxml
  6. 0 20
      tests/misc/cs/csTwoLibs/compile-3.hxml
  7. 0 23
      tests/misc/cs/csTwoLibs/compile-4.hxml
  8. 0 10
      tests/misc/cs/projects/Issue11350/Main.hx
  9. 0 3
      tests/misc/cs/projects/Issue11350/compile.hxml
  10. 0 1
      tests/misc/cs/projects/Issue3526/.gitignore
  11. 0 28
      tests/misc/cs/projects/Issue3526/IncompatibleCombinations.hx
  12. 0 72
      tests/misc/cs/projects/Issue3526/Main.hx
  13. 0 4
      tests/misc/cs/projects/Issue3526/compile-7.3.hxml
  14. 0 2
      tests/misc/cs/projects/Issue3526/compile.hxml
  15. 0 4
      tests/misc/cs/projects/Issue3526/incompatible-combinations-fail.hxml
  16. 0 8
      tests/misc/cs/projects/Issue3526/incompatible-combinations-fail.hxml.stderr
  17. 0 15
      tests/misc/cs/projects/Issue3703/Main.hx
  18. 0 15
      tests/misc/cs/projects/Issue3703/Test.hx
  19. 0 3
      tests/misc/cs/projects/Issue3703/compile.hxml
  20. 0 19
      tests/misc/cs/projects/Issue4002/Main.hx
  21. 0 3
      tests/misc/cs/projects/Issue4002/compile.hxml
  22. 0 1
      tests/misc/cs/projects/Issue4116/.gitignore
  23. 0 3
      tests/misc/cs/projects/Issue4116/base/A.hx
  24. 0 2
      tests/misc/cs/projects/Issue4116/compile.hxml
  25. 0 16
      tests/misc/cs/projects/Issue4598/Main.hx
  26. 0 11
      tests/misc/cs/projects/Issue4598/Run.hx
  27. 0 4
      tests/misc/cs/projects/Issue4598/compile.hxml
  28. 0 59
      tests/misc/cs/projects/Issue4623/Main.hx
  29. 0 11
      tests/misc/cs/projects/Issue4623/Run.hx
  30. 0 4
      tests/misc/cs/projects/Issue4623/compile.hxml
  31. 0 6
      tests/misc/cs/projects/Issue5434/Main.hx
  32. 0 2
      tests/misc/cs/projects/Issue5434/compile.hxml
  33. 0 20
      tests/misc/cs/projects/Issue5915/Test.hx
  34. 0 2
      tests/misc/cs/projects/Issue5915/compile.hxml
  35. 0 17
      tests/misc/cs/projects/Issue5953/Main.hx
  36. 0 10
      tests/misc/cs/projects/Issue5953/Reduced.hx
  37. 0 3
      tests/misc/cs/projects/Issue5953/compile.hxml
  38. 0 13
      tests/misc/cs/projects/Issue6635/Main.hx
  39. 0 3
      tests/misc/cs/projects/Issue6635/compile.hxml
  40. 0 23
      tests/misc/cs/projects/Issue7875/Main.hx
  41. 0 3
      tests/misc/cs/projects/Issue7875/compile.hxml
  42. 0 2
      tests/misc/cs/projects/Issue8347/.gitignore
  43. 0 7
      tests/misc/cs/projects/Issue8347/Main.hx
  44. 0 5
      tests/misc/cs/projects/Issue8347/compile-fail.hxml
  45. 0 4
      tests/misc/cs/projects/Issue8347/compile-fail.hxml.stderr
  46. 0 3
      tests/misc/cs/projects/Issue8347/compile.hxml
  47. 0 9
      tests/misc/cs/projects/Issue8347/src/fail/NotFirstType.hx
  48. 0 7
      tests/misc/cs/projects/Issue8347/src/pack/Main.hx
  49. 0 22
      tests/misc/cs/projects/Issue8361/Main.hx
  50. 0 2
      tests/misc/cs/projects/Issue8361/compile.hxml
  51. 0 22
      tests/misc/cs/projects/Issue8366/Main.hx
  52. 0 3
      tests/misc/cs/projects/Issue8366/compile.hxml
  53. 0 6
      tests/misc/cs/projects/Issue8487/Main1.hx
  54. 0 8
      tests/misc/cs/projects/Issue8487/Main2.hx
  55. 0 2
      tests/misc/cs/projects/Issue8487/compile-fail.hxml
  56. 0 1
      tests/misc/cs/projects/Issue8487/compile-fail.hxml.stderr
  57. 0 2
      tests/misc/cs/projects/Issue8487/compile.hxml
  58. 0 10
      tests/misc/cs/projects/Issue8589/Main.hx
  59. 0 3
      tests/misc/cs/projects/Issue8589/compile.hxml
  60. 0 0
      tests/misc/cs/projects/Issue8589/compile.hxml.stderr
  61. 0 25
      tests/misc/cs/projects/Issue8664/Main.hx
  62. 0 2
      tests/misc/cs/projects/Issue8664/compile.hxml
  63. 0 23
      tests/misc/cs/projects/Issue9799/Main.hx
  64. 0 2
      tests/misc/cs/projects/Issue9799/compile.hxml
  65. 0 2
      tests/misc/cs/run.hxml
  66. 0 0
      tests/misc/java/projects/Issue11023/bin/.gitkeep

+ 0 - 1
tests/misc/cs/csTwoLibs/.gitignore

@@ -1 +0,0 @@
-bin

+ 0 - 7
tests/misc/cs/csTwoLibs/Lib1.hx

@@ -1,7 +0,0 @@
-@:keep class Lib1
-{
-	public static function test()
-	{
-		return { longInexistentName:true, otherName:true, yetAnotherName:true, fdskljdflskjf:true, xxy:true };
-	}
-}

+ 0 - 22
tests/misc/cs/csTwoLibs/Main.hx

@@ -1,22 +0,0 @@
-class Main
-{
-	public static function main()
-	{
-		var asm = cs.system.reflection.Assembly.LoadFile(sys.FileSystem.fullPath("bin/lib1/bin/lib1.dll"));
-		var name = #if no_root "haxe.root.Lib1" #else "Lib1" #end;
-		var tp:Dynamic = asm.GetType(name);
-		var obj = tp.test();
-		trace(obj);
-		for (field in Reflect.fields(obj))
-		{
-			var val:Dynamic = Reflect.field(obj,field);
-			if (val != true)
-				throw 'Value $val for field $field';
-		}
-		var names = ["longInexistentName","otherName","yetAnotherName","fdskljdflskjf","xxy"];
-		var n2 = Reflect.fields(obj);
-		names.sort(Reflect.compare);
-		n2.sort(Reflect.compare);
-		if (names.toString() != n2.toString()) throw 'Mismatch: $names and $n2';
-	}
-}

+ 0 - 17
tests/misc/cs/csTwoLibs/compile-1.hxml

@@ -1,17 +0,0 @@
---cmd rm -rf bin
---next
-cs.Boot
---dce no
--cs bin/haxeboot
---next
---net-lib bin/haxeboot/bin/haxeboot.dll
---dce no
--D dll_import
-Lib1
--cs bin/lib1
---next
---net-lib bin/haxeboot/bin/haxeboot.dll
---dce no
--D dll_import
---main Main
--cs bin/main

+ 0 - 20
tests/misc/cs/csTwoLibs/compile-2.hxml

@@ -1,20 +0,0 @@
---cmd rm -rf bin
---next
-cs.Boot
---dce no
--cs bin/haxeboot
--D no_root
---next
---net-lib bin/haxeboot/bin/haxeboot.dll
---dce no
--D dll_import
--D no_root
-Lib1
--cs bin/lib1
---next
---net-lib bin/haxeboot/bin/haxeboot.dll
---dce no
--D dll_import
--D no_root
---main Main
--cs bin/main

+ 0 - 20
tests/misc/cs/csTwoLibs/compile-3.hxml

@@ -1,20 +0,0 @@
---cmd rm -rf bin
---next
-cs.Boot
---dce no
--cs bin/haxeboot
--D erase_generics
---next
---net-lib bin/haxeboot/bin/haxeboot.dll
---dce no
--D dll_import
--D erase_generics
-Lib1
--cs bin/lib1
---next
---net-lib bin/haxeboot/bin/haxeboot.dll
---dce no
--D dll_import
--D erase_generics
---main Main
--cs bin/main

+ 0 - 23
tests/misc/cs/csTwoLibs/compile-4.hxml

@@ -1,23 +0,0 @@
---cmd rm -rf bin
---next
-cs.Boot
---dce no
--cs bin/haxeboot
--D erase_generics
--D no_root
---next
---net-lib bin/haxeboot/bin/haxeboot.dll
---dce no
--D dll_import
--D erase_generics
--D no_root
-Lib1
--cs bin/lib1
---next
---net-lib bin/haxeboot/bin/haxeboot.dll
---dce no
--D dll_import
--D erase_generics
--D no_root
---main Main
--cs bin/main

+ 0 - 10
tests/misc/cs/projects/Issue11350/Main.hx

@@ -1,10 +0,0 @@
-class Main {
-	public static function main() {}
-
-	public static function forComparable<T : Comparable<T>>(): T->T->Void
-		return (a: T, b: T) -> {}
-}
-
-typedef Comparable<T> = {
-	public function compareTo(that : T) : Int;
-}

+ 0 - 3
tests/misc/cs/projects/Issue11350/compile.hxml

@@ -1,3 +0,0 @@
---main Main
--cs bin
--D net-ver=45

+ 0 - 1
tests/misc/cs/projects/Issue3526/.gitignore

@@ -1 +0,0 @@
-/cs

+ 0 - 28
tests/misc/cs/projects/Issue3526/IncompatibleCombinations.hx

@@ -1,28 +0,0 @@
-import cs.Constraints;
-import haxe.Constraints.Constructible;
-
-@:nativeGen
-class StructAndConstructible<T:CsStruct & Constructible<()->Void>> {}
-
-@:nativeGen
-class ConstructibleAndStruct<T:Constructible<()->Void> & CsStruct> {}
-
-@:nativeGen
-class StructAndClass<T:CsStruct & CsClass> {}
-
-@:nativeGen
-class ClassAndStruct<T:CsClass & CsStruct> {}
-
-#if (cs_ver >= "7.3")
-@:nativeGen
-class UnmanagedAndStruct<T:CsUnmanaged & CsStruct> {}
-
-@:nativeGen
-class StructAndUnmanaged<T:CsStruct & CsUnmanaged> {}
-
-@:nativeGen
-class UnmanagedAndConstructible<T:CsUnmanaged & Constructible<()->Void>> {}
-
-@:nativeGen
-class ConstructibleAndUnmanaged<T:Constructible<()->Void> & CsUnmanaged> {}
-#end

+ 0 - 72
tests/misc/cs/projects/Issue3526/Main.hx

@@ -1,72 +0,0 @@
-import cs.Constraints;
-import haxe.Constraints.Constructible;
-
-@:classCode("
-	public static void testClass<T>(T t) where T : class {}
-	public static void testStruct<T>(T t) where T : struct {}
-	public static void testConstructible<T>(T t) where T : new() {}
-	public static void testConstructibleClass<T>(T t) where T : class, new() {}
-")
-class TestCs {
-    extern public static function testClass<T:CsClass>(t:T):Void;
-    extern public static function testStruct<T:CsStruct>(t:T):Void;
-    extern public static function testConstructible<T:Constructible<()->Void>>(t:T):Void;
-    extern public static function testConstructibleClass<T:Constructible<()->Void> & CsClass>(t:T):Void;
-}
-
-@:nativeGen
-class Main {
-    public static function main() {
-        testClass(new Array<String>());
-        TestCs.testClass(new Class_(new Array<String>()).value);
-
-        testStruct(42);
-        TestCs.testStruct(new Struct(42).value);
-
-        testConstructible(new haxe.Serializer());
-        TestCs.testConstructible(new Constructible_(new haxe.Serializer()).value);
-
-        testConstructibleClass(new haxe.Serializer());
-        TestCs.testConstructibleClass(new ConstructibleClass(new haxe.Serializer()).value);
-    }
-
-    static function testClass<T:CsClass>(value:T) TestCs.testClass(value);
-    static function testStruct<T:CsStruct>(value:T) TestCs.testStruct(value);
-    static function testConstructible<T:Constructible<()->Void>>(value:T) TestCs.testConstructible(value);
-    static function testConstructibleClass<T:Constructible<()->Void> & CsClass>(value:T) TestCs.testConstructibleClass(value);
-}
-
-@:nativeGen
-class Class_<T:CsClass> {
-    public var value:T;
-    public function new(value:T) this.value = value;
-}
-
-@:nativeGen
-class Struct<T:CsStruct> {
-    public var value:T;
-    public function new(value:T) this.value = value;
-}
-
-@:nativeGen
-class Constructible_<T:Constructible<()->Void>> {
-    public var value:T;
-    public function new(value:T) this.value = value;
-}
-
-@:nativeGen
-class ConstructibleClass<T:Constructible<()->Void> & CsClass> {
-    public var value:T;
-    public function new(value:T) this.value = value;
-}
-
-@:nativeGen
-class StructT<T, T1:T & CsStruct> {}
-
-#if (cs_ver >= "7.3")
-@:nativeGen
-class Unmanaged<T:CsUnmanaged> {}
-
-@:nativeGen
-class UnmanagedClass<T:CsUnmanaged & CsClass> {}
-#end

+ 0 - 4
tests/misc/cs/projects/Issue3526/compile-7.3.hxml

@@ -1,4 +0,0 @@
--cs cs
--D no-compilation
--D cs_ver=7.3
-Main

+ 0 - 2
tests/misc/cs/projects/Issue3526/compile.hxml

@@ -1,2 +0,0 @@
--cs cs
-Main

+ 0 - 4
tests/misc/cs/projects/Issue3526/incompatible-combinations-fail.hxml

@@ -1,4 +0,0 @@
--cs cs
--D no-compilation
--D cs_ver=7.3
-IncompatibleCombinations

+ 0 - 8
tests/misc/cs/projects/Issue3526/incompatible-combinations-fail.hxml.stderr

@@ -1,8 +0,0 @@
-IncompatibleCombinations.hx:5: characters 1-70 : The new() constraint cannot be combined with the struct constraint.
-IncompatibleCombinations.hx:8: characters 1-70 : The new() constraint cannot be combined with the struct constraint.
-IncompatibleCombinations.hx:11: characters 1-46 : The class constraint cannot be combined with the struct constraint.
-IncompatibleCombinations.hx:14: characters 1-46 : The class constraint cannot be combined with the struct constraint.
-IncompatibleCombinations.hx:18: characters 1-54 : The unmanaged constraint cannot be combined with the struct constraint.
-IncompatibleCombinations.hx:21: characters 1-54 : The unmanaged constraint cannot be combined with the struct constraint.
-IncompatibleCombinations.hx:24: characters 1-76 : The unmanaged constraint cannot be combined with the new() constraint.
-IncompatibleCombinations.hx:27: characters 1-76 : The unmanaged constraint cannot be combined with the new() constraint.

+ 0 - 15
tests/misc/cs/projects/Issue3703/Main.hx

@@ -1,15 +0,0 @@
-class Main {
-	static function main() {
-		var a = ["hello"];
-		sortArray(a); // works properly
-		sortArrayInline(a); // generates wrong code
-	}
-
-	static function sortArray<T>(a:Array<T>):Void {
-		cs.system.Array.Sort(@:privateAccess a.__a, 0, a.length);
-	}
-
-	static inline function sortArrayInline<T>(a:Array<T>):Void {
-		cs.system.Array.Sort(@:privateAccess a.__a, 0, a.length);
-	}
-}

+ 0 - 15
tests/misc/cs/projects/Issue3703/Test.hx

@@ -1,15 +0,0 @@
-class A<T> {}
-
-@:nativeGen
-class B<T> {}
-
-class C<T1,T2> {
-	var a:A<T1>;
-	var b:B<T2>;
-
-	function f():A<T1> return null;
-}
-
-class D extends C<String, String> {
-	override function f():A<String> return null;
-}

+ 0 - 3
tests/misc/cs/projects/Issue3703/compile.hxml

@@ -1,3 +0,0 @@
--main Main
-Test
--cs bin

+ 0 - 19
tests/misc/cs/projects/Issue4002/Main.hx

@@ -1,19 +0,0 @@
-import cs.system.WeakReference_1;
-
-class Main {
-	public static function main() {
-		new Test<A>(new A());
-	}
-}
-
-@:nativeGen
-class Test<T:A> {
-	public function new(a:T) {
-		var ref:WeakReference_1<T> = new WeakReference_1(a);
-	}
-}
-
-class A {
-	public function new() {}
-}
-

+ 0 - 3
tests/misc/cs/projects/Issue4002/compile.hxml

@@ -1,3 +0,0 @@
---main Main
--cs bin
--D net-ver=45

+ 0 - 1
tests/misc/cs/projects/Issue4116/.gitignore

@@ -1 +0,0 @@
-/cs

+ 0 - 3
tests/misc/cs/projects/Issue4116/base/A.hx

@@ -1,3 +0,0 @@
-package base;
-
-class A<T> {}

+ 0 - 2
tests/misc/cs/projects/Issue4116/compile.hxml

@@ -1,2 +0,0 @@
--cs cs
-base.A

+ 0 - 16
tests/misc/cs/projects/Issue4598/Main.hx

@@ -1,16 +0,0 @@
-class Main {
-	@:readOnly
-	public var a:Int = 10;
-
-	static function main() {
-		var m = new Main();
-
-		try Reflect.setProperty(m, 'a', 999)
-		catch(e:cs.system.MemberAccessException) {}
-		if(m.a != 10) {
-			throw "Main.a should not be writable via reflection";
-		}
-	}
-
-	public function new() {}
-}

+ 0 - 11
tests/misc/cs/projects/Issue4598/Run.hx

@@ -1,11 +0,0 @@
-class Run {
-	static public function run() {
-		var exitCode = switch (Sys.systemName()) {
-			case 'Windows':
-				Sys.command('bin\\bin\\Main.exe');
-			case _:
-				Sys.command('mono', ['bin/bin/Main.exe']);
-		}
-		Sys.exit(exitCode);
-	}
-}

+ 0 - 4
tests/misc/cs/projects/Issue4598/compile.hxml

@@ -1,4 +0,0 @@
--cs bin
--main Main
---next
---macro Run.run()

+ 0 - 59
tests/misc/cs/projects/Issue4623/Main.hx

@@ -1,59 +0,0 @@
-@:nativeGen
-class Main {
-	static var voidResult:String;
-
-	static function testVoid(a:Int, b:String = 'hello', ?c:String):Void {
-		voidResult = '$a $b $c';
-	}
-
-	static function test(a:Int, b:String = 'hello', ?c:String):String {
-		return '$a $b $c';
-	}
-
-	public static function main() {
-		untyped __cs__('global::Main.testVoid(1, "foo")');
-		var expected = '1 foo null';
-		if(voidResult != expected) {
-			throw 'Invalid result of testVoid(1, "foo"). Expected: $expected. Got: $voidResult';
-		}
-
-		untyped __cs__('global::Main.testVoid(2)');
-		var expected = '2 hello null';
-		if(voidResult != expected) {
-			throw 'Invalid result of testVoid(2). Expected: $expected. Got: $voidResult';
-		}
-
-		var expected = '3 bar null';
-		var result = untyped __cs__('global::Main.test(3, "bar")');
-		if(expected != result) {
-			throw 'Invalid result of test(3, "bar"). Expected: $expected. Got: $result';
-		}
-
-		var expected = '4 hello null';
-		var result = untyped __cs__('global::Main.test(4)');
-		if(expected != result) {
-			throw 'Invalid result of test(4). Expected: $expected. Got: $result';
-		}
-
-		var n:CtorTest = untyped __cs__('new global::CtorTest(20);') ;
-		if(n.a != 20 || n.b != 'hello') {
-			throw 'Invalid result of new CtorTest(20)';
-		}
-
-		var n:CtorTest = untyped __cs__('new global::CtorTest();') ;
-		if(n.a != 10 || n.b != 'hello') {
-			throw 'Invalid result of new CtorTest()';
-		}
-	}
-}
-
-@:nativeGen
-class CtorTest {
-	public var a:Int;
-	public var b:String;
-
-	public function new(a:Int = 10, b:String = 'hello') {
-		this.a = a;
-		this.b = b;
-	}
-}

+ 0 - 11
tests/misc/cs/projects/Issue4623/Run.hx

@@ -1,11 +0,0 @@
-class Run {
-	static public function run() {
-		var exitCode = switch (Sys.systemName()) {
-			case 'Windows':
-				Sys.command('bin\\bin\\Main.exe');
-			case _:
-				Sys.command('mono', ['bin/bin/Main.exe']);
-		}
-		Sys.exit(exitCode);
-	}
-}

+ 0 - 4
tests/misc/cs/projects/Issue4623/compile.hxml

@@ -1,4 +0,0 @@
--cs bin
--main Main
---next
---macro Run.run()

+ 0 - 6
tests/misc/cs/projects/Issue5434/Main.hx

@@ -1,6 +0,0 @@
-interface ITest<K, V> {
-	function keys():Array<K>;
-	function values():Array<V>;
-}
-
-interface ISubTest extends ITest<String, String> {}

+ 0 - 2
tests/misc/cs/projects/Issue5434/compile.hxml

@@ -1,2 +0,0 @@
-Main
--cs bin

+ 0 - 20
tests/misc/cs/projects/Issue5915/Test.hx

@@ -1,20 +0,0 @@
-enum A {
-    A1(v:String);
-    A2(v:B);
-}
-enum B {
-    BB(v:Float);
-}
-class Test {
-    public static function main () {
-        var v1 = A2(BB(12));
-        v1 = switch (v1) {
-            case A2(v):
-                switch (v) {
-                    case BB(v): A2(BB(v++));
-                }
-            default: A1("");
-        }
-        trace(v1);
-    }
-}

+ 0 - 2
tests/misc/cs/projects/Issue5915/compile.hxml

@@ -1,2 +0,0 @@
--main Test
--cs bin

+ 0 - 17
tests/misc/cs/projects/Issue5953/Main.hx

@@ -1,17 +0,0 @@
-class Main {
-	static function main() {
-		var map = foo(null);
-		trace(map);
-	}
-
-	static function foo(m:NativeStringMap<String>)
-		return m.toMap();
-}
-
-abstract NativeStringMap<V>(Impl<V>) {
-	@:to public function toMap():Map<String, V> {
-		return new Map();
-	}
-}
-
-typedef Impl<V> = cs.system.collections.generic.IDictionary_2<String, V>;

+ 0 - 10
tests/misc/cs/projects/Issue5953/Reduced.hx

@@ -1,10 +0,0 @@
-@:nativeGen
-class C<T> {}
-
-class C2<T> {}
-
-abstract A<T>(C<T>) {
-	function f():C2<T> return null;
-
-	static function foo(a:A<String>) return a.f();
-}

+ 0 - 3
tests/misc/cs/projects/Issue5953/compile.hxml

@@ -1,3 +0,0 @@
--main Main
-Reduced
--cs bin

+ 0 - 13
tests/misc/cs/projects/Issue6635/Main.hx

@@ -1,13 +0,0 @@
-abstract A<V>(String) {}
-
-typedef S = {a:A<Int>};
-
-class Main {
-	function new(s:S) {}
-
-	static function getS():S return null;
-
-	static function main() {
-		new Main(getS());
-	}
-}

+ 0 - 3
tests/misc/cs/projects/Issue6635/compile.hxml

@@ -1,3 +0,0 @@
--main Main
--cs bin
--D no-compilation

+ 0 - 23
tests/misc/cs/projects/Issue7875/Main.hx

@@ -1,23 +0,0 @@
-import cs.system.WeakReference_1;
-
-class Main {
-	public static function main() {
-		new Test<A>(new A());
-	}
-}
-
-@:nativeGen
-class Test<T:A> {
-	public function new(a:T) {
-		test(function() return new WeakReference_1(a));
-	}
-
-	function test(cb:()->WeakReference_1<T>):Void {}
-
-
-}
-
-class A {
-	public function new() {}
-}
-

+ 0 - 3
tests/misc/cs/projects/Issue7875/compile.hxml

@@ -1,3 +0,0 @@
---main Main
--cs bin
--D net-ver=45

+ 0 - 2
tests/misc/cs/projects/Issue8347/.gitignore

@@ -1,2 +0,0 @@
-cs
-cs-fail

+ 0 - 7
tests/misc/cs/projects/Issue8347/Main.hx

@@ -1,7 +0,0 @@
-import cs.system.reflection.AssemblyDelaySignAttribute;
-
-@:cs.assemblyMeta(Test)
-class Main {}
-
-@:cs.assemblyStrict(cs.system.reflection.AssemblyDelaySignAttribute(true))
-class Main2 {}

+ 0 - 5
tests/misc/cs/projects/Issue8347/compile-fail.hxml

@@ -1,5 +0,0 @@
--cp src
-Main
-fail.NotFirstType
--cs cs-fail
--D no-compilation

+ 0 - 4
tests/misc/cs/projects/Issue8347/compile-fail.hxml.stderr

@@ -1,4 +0,0 @@
-src/fail/NotFirstType.hx:8: characters 1-22 : @:cs.assemblyStrict can only be used on the first class of a module
-Main.hx:4: characters 1-14 : @:cs.assemblyMeta cannot be used on top level modules
-Main.hx:7: characters 1-15 : @:cs.assemblyStrict can only be used on the first class of a module
-Main.hx:7: characters 1-15 : @:cs.assemblyStrict cannot be used on top level modules

+ 0 - 3
tests/misc/cs/projects/Issue8347/compile.hxml

@@ -1,3 +0,0 @@
--cp src
-pack.Main
--cs bin

+ 0 - 9
tests/misc/cs/projects/Issue8347/src/fail/NotFirstType.hx

@@ -1,9 +0,0 @@
-package fail;
-
-import cs.system.reflection.AssemblyDelaySignAttribute;
-
-enum SomeEnum {}
-
-@:cs.assemblyStrict(cs.system.reflection.AssemblyDelaySignAttribute(true))
-class NotFirstType {}
-

+ 0 - 7
tests/misc/cs/projects/Issue8347/src/pack/Main.hx

@@ -1,7 +0,0 @@
-package pack;
-
-import cs.system.reflection.AssemblyDelaySignAttribute;
-
-@:cs.assemblyMeta(System.Reflection.AssemblyDefaultAliasAttribute("test"))
-@:cs.assemblyStrict(cs.system.reflection.AssemblyDelaySignAttribute(true))
-class Main {}

+ 0 - 22
tests/misc/cs/projects/Issue8361/Main.hx

@@ -1,22 +0,0 @@
-class SortedStringMapImpl<V> extends haxe.ds.BalancedTree<String, V> implements haxe.Constraints.IMap<String,V> {
-
-	var cmp:String -> String -> Int;
-
-	public function new(?comparator:String -> String -> Int) {
-		super();
-		this.cmp = comparator == null ? haxe.Utf8.compare : comparator;
-	}
-
-	override
-	function compare(s1:String, s2:String):Int {
-		return cmp(s1, s2);
-	}
-}
-
-class Main {
-	static function main() {
-		var m = new SortedStringMapImpl<String>();
-		m.set("foo", "bar");
-		trace(m);
-	}
-}

+ 0 - 2
tests/misc/cs/projects/Issue8361/compile.hxml

@@ -1,2 +0,0 @@
--main Main
--cs bin

+ 0 - 22
tests/misc/cs/projects/Issue8366/Main.hx

@@ -1,22 +0,0 @@
-class Main {
-	public static function main() {
-		var x:cs.NativeArray<Int> = new cs.NativeArray(1);
-
-		cs.Lib.unsafe({trace(42);});
-		cs.Lib.unsafe(trace(42));
-
-		cs.Lib.unsafe({
-			cs.Lib.fixed({
-				var addr = cs.Lib.pointerOfArray(x);
-				trace(cs.Lib.valueOf(addr)); //0
-				addr[0] = 42;
-				trace(cs.Lib.valueOf(addr)); //42
-			});
-		});
-	}
-
-	@:unsafe static function unsafeFunction() {}
-}
-
-@:unsafe
-class TestUnsafe {}

+ 0 - 3
tests/misc/cs/projects/Issue8366/compile.hxml

@@ -1,3 +0,0 @@
--cs bin
--D unsafe
--main Main

+ 0 - 6
tests/misc/cs/projects/Issue8487/Main1.hx

@@ -1,6 +0,0 @@
-@:cs.using("System")
-class Main1 {
-	public static function main():Void {
-		trace('ok');
-	}
-}

+ 0 - 8
tests/misc/cs/projects/Issue8487/Main2.hx

@@ -1,8 +0,0 @@
-interface I {}
-
-@:cs.using("System")
-class Main2 {
-	public static function main():Void {
-		trace('ko');
-	}
-}

+ 0 - 2
tests/misc/cs/projects/Issue8487/compile-fail.hxml

@@ -1,2 +0,0 @@
--cs bin
--main Main2

+ 0 - 1
tests/misc/cs/projects/Issue8487/compile-fail.hxml.stderr

@@ -1 +0,0 @@
-Main2.hx:3: characters 1-11 : @:cs.using can only be used on the first type of a module

+ 0 - 2
tests/misc/cs/projects/Issue8487/compile.hxml

@@ -1,2 +0,0 @@
--cs bin
--main Main1

+ 0 - 10
tests/misc/cs/projects/Issue8589/Main.hx

@@ -1,10 +0,0 @@
-import cs.system.collections.generic.List_1;
-
-typedef T = {id:String};
-
-class Main {
-	public static function main() {
-		var list:List_1<T> = new List_1();
-		list.ConvertAll((t:T) -> t.id);
-	}
-}

+ 0 - 3
tests/misc/cs/projects/Issue8589/compile.hxml

@@ -1,3 +0,0 @@
--main Main
--cs bin
--D no-compilation

+ 0 - 0
tests/misc/cs/projects/Issue8589/compile.hxml.stderr


+ 0 - 25
tests/misc/cs/projects/Issue8664/Main.hx

@@ -1,25 +0,0 @@
-import cs.NativeArray;
-
-class Main {
-	public static function main() {
-		new Arr<String>().map(function(v) return Std.parseInt(v));
-	}
-}
-
-class Arr<T> {
-	var __a:NativeArray<T>;
-
-	public function new() {}
-
-	public inline function map<S>(f:T->S) {
-		new Arr<S>().__unsafe_set(f(__unsafe_get()));
-	}
-
-	inline function __unsafe_get():T {
-		return __a[0];
-	}
-
-	inline function __unsafe_set(val:T):T {
-		return __a[0] = val;
-	}
-}

+ 0 - 2
tests/misc/cs/projects/Issue8664/compile.hxml

@@ -1,2 +0,0 @@
--main Main
--cs bin

+ 0 - 23
tests/misc/cs/projects/Issue9799/Main.hx

@@ -1,23 +0,0 @@
-import haxe.Constraints.Constructible;
-
-@:generic
-class Test<T:Constructible<Void->Void>> {
-
-	var sleepAmount:Float = 0;
-
-	public function new() {
-		var fn = function() {
-			Sys.sleep(this.sleepAmount);
-		}
-	}
-}
-
-class BoringClass {
-	public function new() { }
-}
-
-class Main {
-	static function main() {
-		new Test<BoringClass>();
-	}
-}

+ 0 - 2
tests/misc/cs/projects/Issue9799/compile.hxml

@@ -1,2 +0,0 @@
--main Main
--cs bin

+ 0 - 2
tests/misc/cs/run.hxml

@@ -1,2 +0,0 @@
--cp ../src
---run Main

+ 0 - 0
tests/misc/cs/projects/Issue6635/compile.hxml.stderr → tests/misc/java/projects/Issue11023/bin/.gitkeep