ソースを参照

fix position tests (see #6391)

Simon Krajewski 8 年 前
コミット
8212f4c627
87 ファイル変更150 行追加150 行削除
  1. 1 1
      tests/display/src/File.hx
  2. 1 1
      tests/misc/projects/Issue1138/compile3-fail.hxml.stderr
  3. 1 1
      tests/misc/projects/Issue1138/compile4-fail.hxml.stderr
  4. 2 2
      tests/misc/projects/Issue1310/compile1-fail.hxml.stderr
  5. 1 1
      tests/misc/projects/Issue1968/compile.hxml.stderr
  6. 1 1
      tests/misc/projects/Issue2087/compile-fail.hxml.stderr
  7. 2 2
      tests/misc/projects/Issue2148/compile1-fail.hxml.stderr
  8. 2 2
      tests/misc/projects/Issue2232/compile1-fail.hxml.stderr
  9. 1 1
      tests/misc/projects/Issue2232/compile2-fail.hxml.stderr
  10. 10 10
      tests/misc/projects/Issue2508/compile.hxml.stderr
  11. 1 1
      tests/misc/projects/Issue2538/compile-fail.hxml.stderr
  12. 1 1
      tests/misc/projects/Issue2991/compile.hxml.stderr
  13. 1 1
      tests/misc/projects/Issue2993/compile.hxml.stderr
  14. 1 1
      tests/misc/projects/Issue2995/position.hxml.stderr
  15. 2 2
      tests/misc/projects/Issue2995/usage.hxml.stderr
  16. 1 1
      tests/misc/projects/Issue2996/compile1.hxml.stderr
  17. 1 1
      tests/misc/projects/Issue2996/compile2.hxml.stderr
  18. 1 1
      tests/misc/projects/Issue2997/compile1.hxml.stderr
  19. 3 3
      tests/misc/projects/Issue3192/compile1-fail.hxml.stderr
  20. 1 1
      tests/misc/projects/Issue3238/default-value-fail.hxml.stderr
  21. 1 1
      tests/misc/projects/Issue3238/non-extern-fail.hxml.stderr
  22. 1 1
      tests/misc/projects/Issue3238/not-last-fail.hxml.stderr
  23. 1 1
      tests/misc/projects/Issue3238/optional-fail.hxml.stderr
  24. 1 1
      tests/misc/projects/Issue3361/compile1-fail.hxml.stderr
  25. 4 4
      tests/misc/projects/Issue3361/compile2-fail.hxml.stderr
  26. 3 3
      tests/misc/projects/Issue3417/compile-fail.hxml.stderr
  27. 1 1
      tests/misc/projects/Issue3457/compile-fail.hxml.stderr
  28. 1 1
      tests/misc/projects/Issue3621/compile-fail.hxml.stderr
  29. 3 3
      tests/misc/projects/Issue3678/compile-fail.hxml.stderr
  30. 2 2
      tests/misc/projects/Issue3699/compile-var-fail.hxml.stderr
  31. 1 1
      tests/misc/projects/Issue3710/compile-1-fail.hxml.stderr
  32. 1 1
      tests/misc/projects/Issue3710/compile-2-fail.hxml.stderr
  33. 1 1
      tests/misc/projects/Issue3714/compile-fail.hxml.stderr
  34. 1 1
      tests/misc/projects/Issue3726/compile-1-fail.hxml.stderr
  35. 1 1
      tests/misc/projects/Issue3726/compile-2-fail.hxml.stderr
  36. 2 2
      tests/misc/projects/Issue3781/compile-fail.hxml.stderr
  37. 1 1
      tests/misc/projects/Issue3783/compile-fail.hxml.stderr
  38. 1 1
      tests/misc/projects/Issue3802/compile-fail.hxml.stderr
  39. 1 1
      tests/misc/projects/Issue3830/compile-fail.hxml.stderr
  40. 2 2
      tests/misc/projects/Issue3975/compile-fail.hxml.stderr
  41. 1 1
      tests/misc/projects/Issue4114/compile1-fail.hxml.stderr
  42. 1 1
      tests/misc/projects/Issue4247/compile-fail.hxml.stderr
  43. 5 5
      tests/misc/projects/Issue4250/compile-fail.hxml.stderr
  44. 1 1
      tests/misc/projects/Issue4293/compile-abstract-fail.hxml.stderr
  45. 1 1
      tests/misc/projects/Issue4293/compile-class-fail.hxml.stderr
  46. 1 1
      tests/misc/projects/Issue4293/compile-enum-ctor-fail.hxml.stderr
  47. 1 1
      tests/misc/projects/Issue4293/compile-enum-fail.hxml.stderr
  48. 1 1
      tests/misc/projects/Issue4293/compile-field-fail.hxml.stderr
  49. 1 1
      tests/misc/projects/Issue4293/compile-typedef-fail.hxml.stderr
  50. 2 2
      tests/misc/projects/Issue4364/compile-fail.hxml.stderr
  51. 1 1
      tests/misc/projects/Issue4370/compile-fail.hxml.stderr
  52. 1 1
      tests/misc/projects/Issue4378/compile-fail.hxml.stderr
  53. 3 3
      tests/misc/projects/Issue4448/compile1-fail.hxml.stderr
  54. 1 1
      tests/misc/projects/Issue4466/compile-fail.hxml.stderr
  55. 4 4
      tests/misc/projects/Issue4540/compile-fail.hxml.stderr
  56. 1 1
      tests/misc/projects/Issue4671/compile1-fail.hxml.stderr
  57. 1 1
      tests/misc/projects/Issue4671/compile2-fail.hxml.stderr
  58. 1 1
      tests/misc/projects/Issue4689/compile-fail.hxml.stderr
  59. 18 18
      tests/misc/projects/Issue4720/compile.hxml.stderr
  60. 1 1
      tests/misc/projects/Issue4742/compile-fail.hxml.stderr
  61. 1 1
      tests/misc/projects/Issue4754/compile1-fail.hxml.stderr
  62. 1 1
      tests/misc/projects/Issue4761/compile1-fail.hxml.stderr
  63. 1 1
      tests/misc/projects/Issue4764/compile1-fail.hxml.stderr
  64. 1 1
      tests/misc/projects/Issue4766/compile1-fail.hxml.stderr
  65. 2 2
      tests/misc/projects/Issue4775/compile1-fail.hxml.stderr
  66. 2 2
      tests/misc/projects/Issue4803/compile-fail.hxml.stderr
  67. 1 1
      tests/misc/projects/Issue4816/compile1-fail.hxml.stderr
  68. 1 1
      tests/misc/projects/Issue4904/compile-fail.hxml.stderr
  69. 1 1
      tests/misc/projects/Issue4907/compile-fail.hxml.stderr
  70. 1 1
      tests/misc/projects/Issue4954/compile-fail.hxml.stderr
  71. 2 2
      tests/misc/projects/Issue4957/compile-fail.hxml.stderr
  72. 1 1
      tests/misc/projects/Issue4982/compile-fail.hxml.stderr
  73. 1 1
      tests/misc/projects/Issue5118/compile1.hxml.stderr
  74. 1 1
      tests/misc/projects/Issue5118/compile2.hxml.stderr
  75. 1 1
      tests/misc/projects/Issue5122/compile.hxml.stderr
  76. 1 1
      tests/misc/projects/Issue5125/compile.hxml.stderr
  77. 1 1
      tests/misc/projects/Issue5126/compile-fail.hxml.stderr
  78. 1 1
      tests/misc/projects/Issue5128/compile.hxml.stderr
  79. 1 1
      tests/misc/projects/Issue5134/compile-fail.hxml.stderr
  80. 1 1
      tests/misc/projects/Issue5152/compile.hxml.stderr
  81. 8 8
      tests/misc/projects/Issue5206/compile-fail.hxml.stderr
  82. 2 2
      tests/misc/projects/Issue5375/compile-fail.hxml.stderr
  83. 1 1
      tests/misc/projects/Issue5644/compile-fail.hxml.stderr
  84. 1 1
      tests/misc/projects/Issue5833/compile-fail.hxml.stderr
  85. 1 1
      tests/misc/projects/Issue5888/compile-fail.hxml.stderr
  86. 1 1
      tests/misc/projects/Issue6030/compile-fail.hxml.stderr
  87. 1 1
      tests/misc/projects/display-type/compile.hxml.stderr

+ 1 - 1
tests/display/src/File.hx

@@ -32,7 +32,7 @@ class File {
 			var start = lines[mid];
 			return
 				if (mid == min)
-					{line: mid, pos: pos - start};
+					{line: mid, pos: pos - start + 1};
 				else if (start > pos)
 					loop(min, mid);
 				else

+ 1 - 1
tests/misc/projects/Issue1138/compile3-fail.hxml.stderr

@@ -1 +1 @@
-src1/D.hx:3: characters 8-16 : Int has no field triple
+src1/D.hx:3: characters 9-17 : Int has no field triple

+ 1 - 1
tests/misc/projects/Issue1138/compile4-fail.hxml.stderr

@@ -1 +1 @@
-$$normPath(::cwd::/src3/import.hx):1: characters 0-14 : Only import and using is allowed in import.hx files
+$$normPath(::cwd::/src3/import.hx):1: characters 1-15 : Only import and using is allowed in import.hx files

+ 2 - 2
tests/misc/projects/Issue1310/compile1-fail.hxml.stderr

@@ -1,2 +1,2 @@
-Main1.hx:17: characters 12-17 : Array<Int> should be ToString.S
-Main1.hx:17: characters 12-17 : For function argument ''
+Main1.hx:17: characters 13-18 : Array<Int> should be ToString.S
+Main1.hx:17: characters 13-18 : For function argument ''

+ 1 - 1
tests/misc/projects/Issue1968/compile.hxml.stderr

@@ -1,3 +1,3 @@
 <list>
-<pos>$$normPath(::cwd::/Main.hx, true):4: characters 18-61</pos>
+<pos>$$normPath(::cwd::/Main.hx, true):4: characters 19-62</pos>
 </list>

+ 1 - 1
tests/misc/projects/Issue2087/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:3: characters 2-6 : Type not found : haxe.Resauce
+Main.hx:3: characters 3-7 : Type not found : haxe.Resauce

+ 2 - 2
tests/misc/projects/Issue2148/compile1-fail.hxml.stderr

@@ -1,2 +1,2 @@
-Main1.hx:7: characters 21-24 : Unknown identifier : foo
-Main1.hx:7: characters 21-24 : For function argument 'i'
+Main1.hx:7: characters 22-25 : Unknown identifier : foo
+Main1.hx:7: characters 22-25 : For function argument 'i'

+ 2 - 2
tests/misc/projects/Issue2232/compile1-fail.hxml.stderr

@@ -1,2 +1,2 @@
-Main1.hx:4: characters 6-7 : Float should be Int
-Main1.hx:4: characters 6-7 : For optional function argument 'x'
+Main1.hx:4: characters 7-8 : Float should be Int
+Main1.hx:4: characters 7-8 : For optional function argument 'x'

+ 1 - 1
tests/misc/projects/Issue2232/compile2-fail.hxml.stderr

@@ -1 +1 @@
-Main2.hx:4: characters 2-8 : Cannot skip non-nullable argument x
+Main2.hx:4: characters 3-9 : Cannot skip non-nullable argument x

+ 10 - 10
tests/misc/projects/Issue2508/compile.hxml.stderr

@@ -1,10 +1,10 @@
-Main.hx:15: characters 3-13 : Warning : This case is unused
-Main.hx:20: characters 3-12 : Warning : This case is unused
-Main.hx:21: characters 3-13 : Warning : This case is unused
-Main.hx:26: characters 5-10 : Warning : This pattern is unused
-Main.hx:32: characters 6-17 : Warning : This pattern is unused
-Main.hx:44: characters 3-30 : Warning : This case is unused
-Main.hx:50: characters 3-17 : Warning : This case is unused
-Main.hx:55: characters 3-13 : Warning : This case is unused
-Main.hx:60: characters 3-14 : Warning : This case is unused
-Main.hx:66: characters 8-14 : Warning : This pattern is unused
+Main.hx:15: characters 4-14 : Warning : This case is unused
+Main.hx:20: characters 4-13 : Warning : This case is unused
+Main.hx:21: characters 4-14 : Warning : This case is unused
+Main.hx:26: characters 6-11 : Warning : This pattern is unused
+Main.hx:32: characters 7-18 : Warning : This pattern is unused
+Main.hx:44: characters 4-31 : Warning : This case is unused
+Main.hx:50: characters 4-18 : Warning : This case is unused
+Main.hx:55: characters 4-14 : Warning : This case is unused
+Main.hx:60: characters 4-15 : Warning : This case is unused
+Main.hx:66: characters 9-15 : Warning : This pattern is unused

+ 1 - 1
tests/misc/projects/Issue2538/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:7: characters 12-24 : Cannot use Void as value
+Main.hx:7: characters 13-25 : Cannot use Void as value

+ 1 - 1
tests/misc/projects/Issue2991/compile.hxml.stderr

@@ -1,3 +1,3 @@
 <list>
-<pos>$$normPath(::cwd::/Main.hx, true):6: characters 12-13</pos>
+<pos>$$normPath(::cwd::/Main.hx, true):6: characters 13-14</pos>
 </list>

+ 1 - 1
tests/misc/projects/Issue2993/compile.hxml.stderr

@@ -1,3 +1,3 @@
 <list>
-<pos>$$normPath(::cwd::/Main.hx, true):2: characters 15-18</pos>
+<pos>$$normPath(::cwd::/Main.hx, true):2: characters 16-19</pos>
 </list>

+ 1 - 1
tests/misc/projects/Issue2995/position.hxml.stderr

@@ -1,3 +1,3 @@
 <list>
-<pos>$$normPath(::cwd::/Main.hx, true):2: characters 4-21</pos>
+<pos>$$normPath(::cwd::/Main.hx, true):2: characters 5-22</pos>
 </list>

+ 2 - 2
tests/misc/projects/Issue2995/usage.hxml.stderr

@@ -1,4 +1,4 @@
 <list>
-<pos>$$normPath(::cwd::/Main.hx, true):5: characters 16-26</pos>
-<pos>$$normPath(::cwd::/Main.hx, true):9: characters 8-18</pos>
+<pos>$$normPath(::cwd::/Main.hx, true):5: characters 17-27</pos>
+<pos>$$normPath(::cwd::/Main.hx, true):9: characters 9-19</pos>
 </list>

+ 1 - 1
tests/misc/projects/Issue2996/compile1.hxml.stderr

@@ -1,3 +1,3 @@
 <list>
-<pos>$$normPath(::cwd::/A.hx, true):1: characters 0-21</pos>
+<pos>$$normPath(::cwd::/A.hx, true):1: characters 1-22</pos>
 </list>

+ 1 - 1
tests/misc/projects/Issue2996/compile2.hxml.stderr

@@ -1,3 +1,3 @@
 <list>
-<pos>$$normPath(::cwd::/pack/B.hx, true):3: characters 0-10</pos>
+<pos>$$normPath(::cwd::/pack/B.hx, true):3: characters 1-11</pos>
 </list>

+ 1 - 1
tests/misc/projects/Issue2997/compile1.hxml.stderr

@@ -1,3 +1,3 @@
 <list>
-<pos>$$normPath(::cwd::/Main.hx, true):2: characters 4-14</pos>
+<pos>$$normPath(::cwd::/Main.hx, true):2: characters 5-15</pos>
 </list>

+ 3 - 3
tests/misc/projects/Issue3192/compile1-fail.hxml.stderr

@@ -1,3 +1,3 @@
-Main1.hx:3: characters 18-32 : { b : Int, a : Int } has extra field b
-Main1.hx:3: characters 2-33 : { b : Int, a : Int } should be { a : Int }
-Main1.hx:3: characters 2-33 : { b : Int, a : Int } has extra field b
+Main1.hx:3: characters 19-33 : { b : Int, a : Int } has extra field b
+Main1.hx:3: characters 3-34 : { b : Int, a : Int } should be { a : Int }
+Main1.hx:3: characters 3-34 : { b : Int, a : Int } has extra field b

+ 1 - 1
tests/misc/projects/Issue3238/default-value-fail.hxml.stderr

@@ -1 +1 @@
-DefaultValue.hx:2: characters 44-48 : Rest argument cannot have default value
+DefaultValue.hx:2: characters 45-49 : Rest argument cannot have default value

+ 1 - 1
tests/misc/projects/Issue3238/non-extern-fail.hxml.stderr

@@ -1 +1 @@
-NonExtern.hx:2: characters 22-23 : Rest argument are only supported for extern methods
+NonExtern.hx:2: characters 23-24 : Rest argument are only supported for extern methods

+ 1 - 1
tests/misc/projects/Issue3238/not-last-fail.hxml.stderr

@@ -1 +1 @@
-NotLast.hx:2: characters 15-16 : Rest should only be used for the last function argument
+NotLast.hx:2: characters 16-17 : Rest should only be used for the last function argument

+ 1 - 1
tests/misc/projects/Issue3238/optional-fail.hxml.stderr

@@ -1 +1 @@
-Optional.hx:2: characters 16-17 : Rest argument cannot be optional
+Optional.hx:2: characters 17-18 : Rest argument cannot be optional

+ 1 - 1
tests/misc/projects/Issue3361/compile1-fail.hxml.stderr

@@ -1,4 +1,4 @@
 Main.hx:5: lines 5-8 : Field v has different type than in I
-Main.hx:2: characters 8-28 : Interface field is defined here
+Main.hx:2: characters 9-29 : Interface field is defined here
 Main.hx:5: lines 5-8 : String -> Void should be Dynamic -> Void
 Main.hx:5: lines 5-8 : String should be Dynamic

+ 4 - 4
tests/misc/projects/Issue3361/compile2-fail.hxml.stderr

@@ -1,4 +1,4 @@
-Main2.hx:6: characters 16-45 : Field f has different type than in I
-Main2.hx:2: characters 16-43 : Interface field is defined here
-Main2.hx:6: characters 16-45 : s : String -> Void should be d : Dynamic -> Void
-Main2.hx:6: characters 16-45 : String should be Dynamic
+Main2.hx:6: characters 17-46 : Field f has different type than in I
+Main2.hx:2: characters 17-44 : Interface field is defined here
+Main2.hx:6: characters 17-46 : s : String -> Void should be d : Dynamic -> Void
+Main2.hx:6: characters 17-46 : String should be Dynamic

+ 3 - 3
tests/misc/projects/Issue3417/compile-fail.hxml.stderr

@@ -1,3 +1,3 @@
-Main.hx:6: characters 11-26 : Field f has different type than in I
-Main.hx:2: characters 4-27 : Interface field is defined here
-Main.hx:6: characters 11-26 : Different number of function arguments
+Main.hx:6: characters 12-27 : Field f has different type than in I
+Main.hx:2: characters 5-28 : Interface field is defined here
+Main.hx:6: characters 12-27 : Different number of function arguments

+ 1 - 1
tests/misc/projects/Issue3457/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:1: characters 0-14 : Type aliases must start with an uppercase letter
+Main.hx:1: characters 1-15 : Type aliases must start with an uppercase letter

+ 1 - 1
tests/misc/projects/Issue3621/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main1.hx:11: characters 16-17 : Unmatched patterns: E.C
+Main1.hx:11: characters 17-18 : Unmatched patterns: E.C

+ 3 - 3
tests/misc/projects/Issue3678/compile-fail.hxml.stderr

@@ -1,3 +1,3 @@
-Main.hx:3: characters 17-18 : expression expected after =
-Main.hx:3: characters 19-69 : Unnamed lvalue functions are not supported
-Main.hx:4: characters 8-12 : Unknown identifier : func
+Main.hx:3: characters 18-19 : expression expected after =
+Main.hx:3: characters 20-70 : Unnamed lvalue functions are not supported
+Main.hx:4: characters 9-13 : Unknown identifier : func

+ 2 - 2
tests/misc/projects/Issue3699/compile-var-fail.hxml.stderr

@@ -1,2 +1,2 @@
-MainVar.hx:3: characters 10-11 : expression expected after =
-MainVar.hx:3: characters 12-13 : Unexpected ;
+MainVar.hx:3: characters 11-12 : expression expected after =
+MainVar.hx:3: characters 13-14 : Unexpected ;

+ 1 - 1
tests/misc/projects/Issue3710/compile-1-fail.hxml.stderr

@@ -1 +1 @@
-Main1.hx:3: characters 8-22 : Invalid number of type parameters for A
+Main1.hx:3: characters 9-23 : Invalid number of type parameters for A

+ 1 - 1
tests/misc/projects/Issue3710/compile-2-fail.hxml.stderr

@@ -1 +1 @@
-Main2.hx:3: characters 8-17 : Invalid number of type parameters for A
+Main2.hx:3: characters 9-18 : Invalid number of type parameters for A

+ 1 - 1
tests/misc/projects/Issue3714/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:7: characters 8-11 : Cannot access private field a
+Main.hx:7: characters 9-12 : Cannot access private field a

+ 1 - 1
tests/misc/projects/Issue3726/compile-1-fail.hxml.stderr

@@ -1 +1 @@
-Main1.hx:3: characters 4-36 : Method get_test is no valid accessor for test because it is not static
+Main1.hx:3: characters 5-37 : Method get_test is no valid accessor for test because it is not static

+ 1 - 1
tests/misc/projects/Issue3726/compile-2-fail.hxml.stderr

@@ -1 +1 @@
-Main2.hx:3: characters 11-43 : Method get_test is no valid accessor for test because it is static
+Main2.hx:3: characters 12-44 : Method get_test is no valid accessor for test because it is static

+ 2 - 2
tests/misc/projects/Issue3781/compile-fail.hxml.stderr

@@ -1,2 +1,2 @@
-Main.hx:12: characters 8-10 : Constraint check failure for E1.T
-Main.hx:12: characters 8-10 : Main.T should be String
+Main.hx:12: characters 9-11 : Constraint check failure for E1.T
+Main.hx:12: characters 9-11 : Main.T should be String

+ 1 - 1
tests/misc/projects/Issue3783/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:3: characters 2-8 : Cannot access this or other member field in variable initialization
+Main.hx:3: characters 3-9 : Cannot access this or other member field in variable initialization

+ 1 - 1
tests/misc/projects/Issue3802/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:3: characters 2-8 : Not enough arguments, expected i:Int, s:String
+Main.hx:3: characters 3-9 : Not enough arguments, expected i:Int, s:String

+ 1 - 1
tests/misc/projects/Issue3830/compile-fail.hxml.stderr

@@ -1 +1 @@
-MainFail.hx:3: characters 0-63 : @:coreType abstracts cannot be @:callable
+MainFail.hx:3: characters 1-64 : @:coreType abstracts cannot be @:callable

+ 2 - 2
tests/misc/projects/Issue3975/compile-fail.hxml.stderr

@@ -1,2 +1,2 @@
-Main.hx:4: characters 2-54 : Array<String> should be { pop : Void -> Void }
-Main.hx:4: characters 2-54 : Field pop is method but should be (get,never)
+Main.hx:4: characters 3-55 : Array<String> should be { pop : Void -> Void }
+Main.hx:4: characters 3-55 : Field pop is method but should be (get,never)

+ 1 - 1
tests/misc/projects/Issue4114/compile1-fail.hxml.stderr

@@ -1 +1 @@
-Main1.hx:2: characters 31-34 : Missing return: String
+Main1.hx:2: characters 32-35 : Missing return: String

+ 1 - 1
tests/misc/projects/Issue4247/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:8: characters 3-21 : Incompatible pattern
+Main.hx:8: characters 4-22 : Incompatible pattern

+ 5 - 5
tests/misc/projects/Issue4250/compile-fail.hxml.stderr

@@ -1,5 +1,5 @@
-Main.hx:11: characters 8-30 : SomeNode should be Node
-Main.hx:11: characters 8-30 : SomeNode should be { parent : Node }
-Main.hx:11: characters 8-30 : Invalid type for field parent :
-Main.hx:11: characters 8-30 : SomeNode should be Node
-Main.hx:11: characters 8-30 : SomeNode should be { parent : Node }
+Main.hx:11: characters 9-31 : SomeNode should be Node
+Main.hx:11: characters 9-31 : SomeNode should be { parent : Node }
+Main.hx:11: characters 9-31 : Invalid type for field parent :
+Main.hx:11: characters 9-31 : SomeNode should be Node
+Main.hx:11: characters 9-31 : SomeNode should be { parent : Node }

+ 1 - 1
tests/misc/projects/Issue4293/compile-abstract-fail.hxml.stderr

@@ -1 +1 @@
-OnAbstract.hx:1: characters 23-24 : Duplicate type parameter name: T
+OnAbstract.hx:1: characters 24-25 : Duplicate type parameter name: T

+ 1 - 1
tests/misc/projects/Issue4293/compile-class-fail.hxml.stderr

@@ -1 +1 @@
-OnClass.hx:1: characters 17-18 : Duplicate type parameter name: T
+OnClass.hx:1: characters 18-19 : Duplicate type parameter name: T

+ 1 - 1
tests/misc/projects/Issue4293/compile-enum-ctor-fail.hxml.stderr

@@ -1 +1 @@
-OnEnumCtor.hx:2: characters 6-7 : Duplicate type parameter name: T
+OnEnumCtor.hx:2: characters 7-8 : Duplicate type parameter name: T

+ 1 - 1
tests/misc/projects/Issue4293/compile-enum-fail.hxml.stderr

@@ -1 +1 @@
-OnEnum.hx:1: characters 15-16 : Duplicate type parameter name: T
+OnEnum.hx:1: characters 16-17 : Duplicate type parameter name: T

+ 1 - 1
tests/misc/projects/Issue4293/compile-field-fail.hxml.stderr

@@ -1 +1 @@
-OnField.hx:2: characters 25-26 : Duplicate type parameter name: T
+OnField.hx:2: characters 26-27 : Duplicate type parameter name: T

+ 1 - 1
tests/misc/projects/Issue4293/compile-typedef-fail.hxml.stderr

@@ -1 +1 @@
-OnTypedef.hx:1: characters 21-22 : Duplicate type parameter name: T
+OnTypedef.hx:1: characters 22-23 : Duplicate type parameter name: T

+ 2 - 2
tests/misc/projects/Issue4364/compile-fail.hxml.stderr

@@ -1,2 +1,2 @@
-Main.hx:22: characters 14-18 : Constraint check failure for G.T
-Main.hx:22: characters 14-18 : A should be haxe.Constructible<Void -> Void>
+Main.hx:22: characters 15-19 : Constraint check failure for G.T
+Main.hx:22: characters 15-19 : A should be haxe.Constructible<Void -> Void>

+ 1 - 1
tests/misc/projects/Issue4370/compile-fail.hxml.stderr

@@ -1 +1 @@
-Test.hx:9: characters 15-18 : Int should be Bool
+Test.hx:9: characters 16-19 : Int should be Bool

+ 1 - 1
tests/misc/projects/Issue4378/compile-fail.hxml.stderr

@@ -1,4 +1,4 @@
 Main.hx:5: lines 5-7 : Field test has different type than in I
-Main.hx:16: characters 1-31 : Interface field is defined here
+Main.hx:16: characters 2-32 : Interface field is defined here
 Main.hx:5: lines 5-7 : s : String -> Void should be s : Dynamic -> Void
 Main.hx:5: lines 5-7 : String should be Dynamic

+ 3 - 3
tests/misc/projects/Issue4448/compile1-fail.hxml.stderr

@@ -1,3 +1,3 @@
-Main1.hx:11: characters 8-9 : Cannot access non-static field f from static method
-Main1.hx:12: characters 8-9 : Cannot access non-static field v from static method
-Main1.hx:13: characters 8-10 : Cannot access non-static field v2 from static method
+Main1.hx:11: characters 9-10 : Cannot access non-static field f from static method
+Main1.hx:12: characters 9-10 : Cannot access non-static field v from static method
+Main1.hx:13: characters 9-11 : Cannot access non-static field v2 from static method

+ 1 - 1
tests/misc/projects/Issue4466/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:4: characters 16-17 : Local variable a used without being initialized
+Main.hx:4: characters 17-18 : Local variable a used without being initialized

+ 4 - 4
tests/misc/projects/Issue4540/compile-fail.hxml.stderr

@@ -1,4 +1,4 @@
-Main.hx:3: characters 35-54 : c : { test : String } -> Void should be Null<js.PromiseCallback<Int, Void>>
-Main.hx:3: characters 35-54 : c : { test : String } -> Void should be js.PromiseCallback<Int, Void>
-Main.hx:3: characters 35-54 : c : { test : String } -> Void should be haxe.extern.EitherType<Int -> Void, Int -> js.Promise<Void>>
-Main.hx:3: characters 35-54 : For function argument 'fulfillCallback'
+Main.hx:3: characters 36-55 : c : { test : String } -> Void should be Null<js.PromiseCallback<Int, Void>>
+Main.hx:3: characters 36-55 : c : { test : String } -> Void should be js.PromiseCallback<Int, Void>
+Main.hx:3: characters 36-55 : c : { test : String } -> Void should be haxe.extern.EitherType<Int -> Void, Int -> js.Promise<Void>>
+Main.hx:3: characters 36-55 : For function argument 'fulfillCallback'

+ 1 - 1
tests/misc/projects/Issue4671/compile1-fail.hxml.stderr

@@ -1 +1 @@
-Main1.hx:1: characters 0-29 : Recursive class
+Main1.hx:1: characters 1-30 : Recursive class

+ 1 - 1
tests/misc/projects/Issue4671/compile2-fail.hxml.stderr

@@ -1 +1 @@
-Main2.hx:1: characters 0-21 : Recursive class
+Main2.hx:1: characters 1-22 : Recursive class

+ 1 - 1
tests/misc/projects/Issue4689/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:10: characters 24-25 : Unmatched patterns: B
+Main.hx:10: characters 25-26 : Unmatched patterns: B

+ 18 - 18
tests/misc/projects/Issue4720/compile.hxml.stderr

@@ -1,18 +1,18 @@
-Main.hx:8: characters 8-14 : Warning : Usage of this typedef is deprecated
-Main.hx:9: characters 8-18 : Warning : Usage of this typedef is deprecated
-Main.hx:10: characters 8-13 : Warning : Usage of this typedef is deprecated
-Main.hx:19: characters 8-18 : Warning : Usage of this typedef is deprecated
-Main.hx:4: characters 8-15 : Warning : Usage of this class is deprecated
-Main.hx:5: characters 8-19 : Warning : Usage of this class is deprecated
-Main.hx:6: characters 8-14 : Warning : Usage of this enum is deprecated
-Main.hx:15: characters 8-21 : Warning : Usage of this class is deprecated
-Main.hx:16: characters 8-19 : Warning : Usage of this enum is deprecated
-Main.hx:17: characters 8-28 : Warning : Usage of this class is deprecated
-Main.hx:18: characters 8-20 : Warning : Usage of this class is deprecated
-Main.hx:20: characters 8-27 : Warning : Usage of this class is deprecated
-Main.hx:23: characters 8-23 : Warning : Usage of this field is deprecated
-Main.hx:24: characters 8-22 : Warning : Usage of this field is deprecated
-Main.hx:25: characters 8-26 : Warning : Usage of this field is deprecated
-Main.hx:26: characters 16-34 : Warning : Usage of this field is deprecated
-Main.hx:27: characters 8-24 : Warning : Usage of this field is deprecated
-Main.hx:28: characters 16-32 : Warning : Usage of this field is deprecated
+Main.hx:8: characters 9-15 : Warning : Usage of this typedef is deprecated
+Main.hx:9: characters 9-19 : Warning : Usage of this typedef is deprecated
+Main.hx:10: characters 9-14 : Warning : Usage of this typedef is deprecated
+Main.hx:19: characters 9-19 : Warning : Usage of this typedef is deprecated
+Main.hx:4: characters 9-16 : Warning : Usage of this class is deprecated
+Main.hx:5: characters 9-20 : Warning : Usage of this class is deprecated
+Main.hx:6: characters 9-15 : Warning : Usage of this enum is deprecated
+Main.hx:15: characters 9-22 : Warning : Usage of this class is deprecated
+Main.hx:16: characters 9-20 : Warning : Usage of this enum is deprecated
+Main.hx:17: characters 9-29 : Warning : Usage of this class is deprecated
+Main.hx:18: characters 9-21 : Warning : Usage of this class is deprecated
+Main.hx:20: characters 9-28 : Warning : Usage of this class is deprecated
+Main.hx:23: characters 9-24 : Warning : Usage of this field is deprecated
+Main.hx:24: characters 9-23 : Warning : Usage of this field is deprecated
+Main.hx:25: characters 9-27 : Warning : Usage of this field is deprecated
+Main.hx:26: characters 17-35 : Warning : Usage of this field is deprecated
+Main.hx:27: characters 9-25 : Warning : Usage of this field is deprecated
+Main.hx:28: characters 17-33 : Warning : Usage of this field is deprecated

+ 1 - 1
tests/misc/projects/Issue4742/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:3: characters 8-27 : Cannot use Void as value
+Main.hx:3: characters 9-28 : Cannot use Void as value

+ 1 - 1
tests/misc/projects/Issue4754/compile1-fail.hxml.stderr

@@ -1 +1 @@
-Main1.hx:3: characters 7-10 : Cannot use this expression as value
+Main1.hx:3: characters 8-11 : Cannot use this expression as value

+ 1 - 1
tests/misc/projects/Issue4761/compile1-fail.hxml.stderr

@@ -1 +1 @@
-Main1.hx:2: characters 0-17 : Abstract underlying type cannot be recursive
+Main1.hx:2: characters 1-18 : Abstract underlying type cannot be recursive

+ 1 - 1
tests/misc/projects/Issue4764/compile1-fail.hxml.stderr

@@ -1 +1 @@
-Main1.hx:4: characters 15-22 : Cannot construct haxe.Constructible<Void -> Void>
+Main1.hx:4: characters 16-23 : Cannot construct haxe.Constructible<Void -> Void>

+ 1 - 1
tests/misc/projects/Issue4766/compile1-fail.hxml.stderr

@@ -1 +1 @@
-Main1.hx:8: characters 21-25 : Missing this = value
+Main1.hx:8: characters 22-26 : Missing this = value

+ 2 - 2
tests/misc/projects/Issue4775/compile1-fail.hxml.stderr

@@ -1,2 +1,2 @@
-Main1.hx:7: characters 2-26 : Constraint check failure for Contain.T
-Main1.hx:7: characters 2-26 : Main1 should be String
+Main1.hx:7: characters 3-27 : Constraint check failure for Contain.T
+Main1.hx:7: characters 3-27 : Main1 should be String

+ 2 - 2
tests/misc/projects/Issue4803/compile-fail.hxml.stderr

@@ -2,6 +2,6 @@ Main.hx:4: lines 4-7 : Could not find a suitable overload, reasons follow
 Main.hx:4: lines 4-7 : Overload resolution failed for Void -> js.jquery.JQuery
 Main.hx:4: lines 4-7 : Too many arguments
 Main.hx:4: lines 4-7 : Overload resolution failed for handler : (js.jquery.Event -> Void) -> js.jquery.JQuery
-Main.hx:6: characters 7-16 : Object requires field y
-Main.hx:6: characters 7-16 : For function argument 'handler'
+Main.hx:6: characters 8-17 : Object requires field y
+Main.hx:6: characters 8-17 : For function argument 'handler'
 Main.hx:4: lines 4-7 : End of overload failure reasons

+ 1 - 1
tests/misc/projects/Issue4816/compile1-fail.hxml.stderr

@@ -1 +1 @@
-Main1.hx:4: characters 24-30 : { f : { name : String } } has no field name
+Main1.hx:4: characters 25-31 : { f : { name : String } } has no field name

+ 1 - 1
tests/misc/projects/Issue4904/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:3: characters 2-16 : Cannot access private field f
+Main.hx:3: characters 3-17 : Cannot access private field f

+ 1 - 1
tests/misc/projects/Issue4907/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:7: characters 17-22 : Capture variables must be lower-case
+Main.hx:7: characters 18-23 : Capture variables must be lower-case

+ 1 - 1
tests/misc/projects/Issue4954/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:6: characters 17-27 : Only inline or read-only (default, never) fields can be used as a pattern
+Main.hx:6: characters 18-28 : Only inline or read-only (default, never) fields can be used as a pattern

+ 2 - 2
tests/misc/projects/Issue4957/compile-fail.hxml.stderr

@@ -1,2 +1,2 @@
-Main.hx:10: characters 16-17 : Unmatched patterns: B
-Main.hx:14: characters 24-25 : Unmatched patterns: B
+Main.hx:10: characters 17-18 : Unmatched patterns: B
+Main.hx:14: characters 25-26 : Unmatched patterns: B

+ 1 - 1
tests/misc/projects/Issue4982/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:3: characters 14-29 : Cannot use Void as value
+Main.hx:3: characters 15-30 : Cannot use Void as value

+ 1 - 1
tests/misc/projects/Issue5118/compile1.hxml.stderr

@@ -1,3 +1,3 @@
-<type p="$$normPath(::cwd::/Main.hx):8: characters 17-21">
+<type p="$$normPath(::cwd::/Main.hx):8: characters 18-22">
 v : Int -&gt; haxe.ds.Option&lt;Int&gt;
 </type>

+ 1 - 1
tests/misc/projects/Issue5118/compile2.hxml.stderr

@@ -1,3 +1,3 @@
-<type p="$$normPath(::cwd::/Main.hx):7: characters 17-21">
+<type p="$$normPath(::cwd::/Main.hx):7: characters 18-22">
 haxe.ds.Option&lt;Int&gt;
 </type>

+ 1 - 1
tests/misc/projects/Issue5122/compile.hxml.stderr

@@ -1,3 +1,3 @@
-<type p="$$normPath(::cwd::/Main.hx):7: characters 8-13">
+<type p="$$normPath(::cwd::/Main.hx):7: characters 9-14">
 Void -&gt; String
 </type>

+ 1 - 1
tests/misc/projects/Issue5125/compile.hxml.stderr

@@ -1,3 +1,3 @@
-<type p="$$normPath(::cwd::/Main.hx):6: characters 26-34">
+<type p="$$normPath(::cwd::/Main.hx):6: characters 27-35">
 TextDocumentSyncKind
 </type>

+ 1 - 1
tests/misc/projects/Issue5126/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:2: character 53 : Invalid escape sequence \s
+Main.hx:2: character 54 : Invalid escape sequence \s

+ 1 - 1
tests/misc/projects/Issue5128/compile.hxml.stderr

@@ -1,3 +1,3 @@
-<type p="$$normPath(::cwd::/Main.hx):2: characters 17-21">
+<type p="$$normPath(::cwd::/Main.hx):2: characters 18-22">
 Void -&gt; Void
 </type>

+ 1 - 1
tests/misc/projects/Issue5134/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:21: characters 8-9 : Cannot access a in static function
+Main.hx:21: characters 9-10 : Cannot access a in static function

+ 1 - 1
tests/misc/projects/Issue5152/compile.hxml.stderr

@@ -1,3 +1,3 @@
-<type p="$$normPath(::cwd::/Main.hx):4: characters 17-20">
+<type p="$$normPath(::cwd::/Main.hx):4: characters 18-21">
 String
 </type>

+ 8 - 8
tests/misc/projects/Issue5206/compile-fail.hxml.stderr

@@ -1,8 +1,8 @@
-Main.hx:14: characters 28-33 : A should be X
-Main.hx:14: characters 28-33 : { pos : Int, len : Int } should be X
-Main.hx:14: characters 28-33 : { pos : Int, len : Int } should be { ?y : Null<Int>, ?x : Null<Int> }
-Main.hx:14: characters 28-33 : { pos : Int, len : Int } has no field x
-Main.hx:14: characters 26-39 : Y should be Z
-Main.hx:14: characters 26-39 : { y : Int, x : Int } should be Z
-Main.hx:14: characters 26-39 : { y : Int, x : Int } should be { ?pos : Null<Array<String>>, ?len : Null<Array<Float>> }
-Main.hx:14: characters 26-39 : { y : Int, x : Int } has no field len
+Main.hx:14: characters 29-34 : A should be X
+Main.hx:14: characters 29-34 : { pos : Int, len : Int } should be X
+Main.hx:14: characters 29-34 : { pos : Int, len : Int } should be { ?y : Null<Int>, ?x : Null<Int> }
+Main.hx:14: characters 29-34 : { pos : Int, len : Int } has no field x
+Main.hx:14: characters 27-40 : Y should be Z
+Main.hx:14: characters 27-40 : { y : Int, x : Int } should be Z
+Main.hx:14: characters 27-40 : { y : Int, x : Int } should be { ?pos : Null<Array<String>>, ?len : Null<Array<Float>> }
+Main.hx:14: characters 27-40 : { y : Int, x : Int } has no field len

+ 2 - 2
tests/misc/projects/Issue5375/compile-fail.hxml.stderr

@@ -1,2 +1,2 @@
-Main.hx:12: characters 8-9 : x : Int -> E should be E
-Main.hx:10: characters 10-11 : Invalid match: Not enough patterns
+Main.hx:12: characters 9-10 : x : Int -> E should be E
+Main.hx:10: characters 11-12 : Invalid match: Not enough patterns

+ 1 - 1
tests/misc/projects/Issue5644/compile-fail.hxml.stderr

@@ -1,2 +1,2 @@
-User.hx:1: characters 19-46 : Type not found : ThisObviouslyDoesntExist
+User.hx:1: characters 20-47 : Type not found : ThisObviouslyDoesntExist
 Main.hx:1: lines 1-5 : Defined in this class

+ 1 - 1
tests/misc/projects/Issue5833/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:7: characters 12-16 : Identifier 'Typi' is not part of A (Suggestion: Typo)
+Main.hx:7: characters 13-17 : Identifier 'Typi' is not part of A (Suggestion: Typo)

+ 1 - 1
tests/misc/projects/Issue5888/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:5: characters 2-7 : Int has no field bar
+Main.hx:5: characters 3-8 : Int has no field bar

+ 1 - 1
tests/misc/projects/Issue6030/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main1.hx:4: characters 96-100 : Cannot access this or other member field in variable initialization
+Main1.hx:4: characters 97-101 : Cannot access this or other member field in variable initialization

+ 1 - 1
tests/misc/projects/display-type/compile.hxml.stderr

@@ -1,3 +1,3 @@
-<type p="$$normPath(::cwd::/Main.hx):1: characters 36-54">
+<type p="$$normPath(::cwd::/Main.hx):1: characters 37-55">
 String
 </type>