]> Nishi Git Mirror - gwion.git/commitdiff
:art: Get Rid of typeof tests
authorJérémie Astor <fennecdjay@gmail.com>
Mon, 4 Jan 2021 21:33:50 +0000 (22:33 +0100)
committerJérémie Astor <fennecdjay@gmail.com>
Mon, 4 Jan 2021 21:33:50 +0000 (22:33 +0100)
16 files changed:
examples/typeof.gw [deleted file]
examples/typeof_array.gw [deleted file]
examples/typeof_decl.gw [deleted file]
tests/error/typeof_error.gw [deleted file]
tests/fork/fork_call.gw [deleted file]
tests/new/invalid_decl_exp.gw [deleted file]
tests/new/noxid.gw [deleted file]
tests/new/typeof.gw [deleted file]
tests/new/typeof2.gw [deleted file]
tests/new/typeof3.gw [deleted file]
tests/tree/check_td_arg.gw [deleted file]
tests/tree/check_td_array.gw [deleted file]
tests/tree/cpy_ast.gw
tests/tree/decl_exp_array.gw [deleted file]
tests/tree/func_check_td.gw [deleted file]
tests/tree/undefined.gw [deleted file]

diff --git a/examples/typeof.gw b/examples/typeof.gw
deleted file mode 100644 (file)
index cf4d519..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<<<typeof(1)>>>;
diff --git a/examples/typeof_array.gw b/examples/typeof_array.gw
deleted file mode 100644 (file)
index 06f48b6..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-var int i[2];
-<<< typeof(i) >>>;
-<<< typeof(1) >>>;
diff --git a/examples/typeof_decl.gw b/examples/typeof_decl.gw
deleted file mode 100644 (file)
index 9be4f59..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-var int i;
-<<< var typeof(i) j>>>;
diff --git a/tests/error/typeof_error.gw b/tests/error/typeof_error.gw
deleted file mode 100644 (file)
index 711db22..0000000
+++ /dev/null
@@ -1 +0,0 @@
-var typeof( 1 + 2 ) i;
diff --git a/tests/fork/fork_call.gw b/tests/fork/fork_call.gw
deleted file mode 100644 (file)
index 5a121c1..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-fun int test() {
-  return 12;
-}
-
-fork test() @=> var auto sh;
-<<< typeof(sh) >>>;
-sh.ev => now;
-<<< sh.retval >>>;
diff --git a/tests/new/invalid_decl_exp.gw b/tests/new/invalid_decl_exp.gw
deleted file mode 100644 (file)
index 40dc93a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-var typeof(1) i;
-<<< i >>>;
diff --git a/tests/new/noxid.gw b/tests/new/noxid.gw
deleted file mode 100644 (file)
index 13c39d4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-var typeof(1) i;
diff --git a/tests/new/typeof.gw b/tests/new/typeof.gw
deleted file mode 100644 (file)
index 44e41d8..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<<< typeof(1) == typeof(2) >>>;
-<<< typeof(1) != typeof(2) >>>;
-<<< typeof(1) > typeof(2) >>>;
-<<< typeof(1) >= typeof(2) >>>;
-<<< typeof(1) < typeof(2) >>>;
-<<< typeof(1) <= typeof(2) >>>;
-<<< typeof(1) == Object >>>;
-<<< typeof(1) > Object >>>;
diff --git a/tests/new/typeof2.gw b/tests/new/typeof2.gw
deleted file mode 100644 (file)
index 1e9bd9a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-<<< int >>>;
-<<< typeof(1) >= int >>>;
diff --git a/tests/new/typeof3.gw b/tests/new/typeof3.gw
deleted file mode 100644 (file)
index c6ab91b..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-class C {}
-class D extends C {}
-var C c;
-var D d;
-<<< typeof(c) < typeof(d) >>>;
-<<< typeof(c) > typeof(d) >>>;
-<<< C < D >>>;
-<<< C > D >>>;
-
diff --git a/tests/tree/check_td_arg.gw b/tests/tree/check_td_arg.gw
deleted file mode 100644 (file)
index 2fbc7d9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-fun void test(typeof(1) i) {}
diff --git a/tests/tree/check_td_array.gw b/tests/tree/check_td_array.gw
deleted file mode 100644 (file)
index 11ff539..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-var int array[][][];
-var typeof(array) other_array;
-<<< other_array >>>;
index 39fd87febdc11db4c977dcaa6920d6a82faa82cf..d481961d2feb6c24b2509cc5918a6fb11d94f0fd 100644 (file)
@@ -2,7 +2,6 @@ class C:[A] {
   \a{};
   [ 1 ];
   var int i,j;
-  var typeof(i) k;
   'a';
   true $ int;
   i++;
@@ -10,7 +9,6 @@ class C:[A] {
   ++i;
   union U { int i; }
   union V:[A] { int i; }
-  typeof(i);
   if(i) i; else i;
   for(var int _i; _i < 1; ++_i);
   var int array[2];
diff --git a/tests/tree/decl_exp_array.gw b/tests/tree/decl_exp_array.gw
deleted file mode 100644 (file)
index 3d0ca31..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-<<< var typeof( new int[2] ) i >>>;
-<<< i >>>;
diff --git a/tests/tree/func_check_td.gw b/tests/tree/func_check_td.gw
deleted file mode 100644 (file)
index d96881d..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-fun typeof(1) test() {}
-
diff --git a/tests/tree/undefined.gw b/tests/tree/undefined.gw
deleted file mode 100644 (file)
index 0cc2188..0000000
+++ /dev/null
@@ -1 +0,0 @@
-var typeof(typeof(1)) i;