Selaa lähdekoodia

add test for reserved type path check

Apparently we have none
Simon Krajewski 8 kuukautta sitten
vanhempi
sitoutus
3e8fa5ca07

+ 4 - 0
tests/misc/projects/reserved-type-paths/Main.hx

@@ -0,0 +1,4 @@
+class Object {}
+class Main {
+	static function main() {}
+}

+ 3 - 0
tests/misc/projects/reserved-type-paths/compile.hxml

@@ -0,0 +1,3 @@
+--main Main
+--js out.js
+--no-output

+ 1 - 0
tests/misc/projects/reserved-type-paths/compile.hxml.stderr

@@ -0,0 +1 @@
+Main.hx:1: characters 1-16 : Warning : (WReservedTypePath) Type path Object is reserved on this target