From: fennecdjay Date: Mon, 4 Nov 2019 16:50:44 +0000 (+0100) Subject: :art: Update X-Git-Tag: nightly~2116^2 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=ba44d6e629444e214cda0acd9ca11c69586f0a8a;p=gwion.git :art: Update --- diff --git a/tests/error/cant_find_in_nspc.gw b/tests/error/cant_find_in_nspc.gw index 0513e7b3..31e9c033 100644 --- a/tests/error/cant_find_in_nspc.gw +++ b/tests/error/cant_find_in_nspc.gw @@ -12,3 +12,5 @@ class E extends C { class F { F->D d; } + +F f; diff --git a/tests/tree/find_in_nspc.gw b/tests/tree/find_in_nspc.gw new file mode 100644 index 00000000..14109151 --- /dev/null +++ b/tests/tree/find_in_nspc.gw @@ -0,0 +1,13 @@ +class C { + class D { + int i; + } +} + +class E extends C { + C->D d; +} + +class F { + E->D d; +} diff --git a/tests/tree/find_type.gw b/tests/tree/find_type.gw new file mode 100644 index 00000000..1fcc611e --- /dev/null +++ b/tests/tree/find_type.gw @@ -0,0 +1,10 @@ +class C { + class D{ + } +} + +class E extends C { + D d; +} +E e; +<<< e.d >>>;