Skip to content

Commit

Permalink
[tests] add failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Dec 22, 2022
1 parent da6f0ec commit 659de5c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/misc/projects/Issue10897/FullpathModuleField.hx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function main() {
ModuleFields.baz();
}
3 changes: 3 additions & 0 deletions tests/misc/projects/Issue10897/FullpathSubtype.hx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function main() {
trace(Types.Baz);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--main FullpathModuleField
--interp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FullpathModuleField.hx:2: characters 2-18 : Module ModuleFields does not define field baz (Suggestion: bar)
2 changes: 2 additions & 0 deletions tests/misc/projects/Issue10897/fullpath-subtype-fail.hxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--main FullpathSubtype
--interp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FullpathSubtype.hx:2: characters 8-17 : Module Types does not define type Baz (Suggestion: Bar)

0 comments on commit 659de5c

Please sign in to comment.