Temporarily disable `JavaScriptTests >> #testNew04`
...because there's a bug in eXept's JavaScriptParser >> #newExpression:
pos1 := tokenPosition.
pos2 := pos1+classOrFunc size-1.
...
classExpr startPosition:pos1 endPosition:pos2.
The `pos2` value is completely bogus and causing an assertion failure
in ParseNode >> #startPosition:endPosition:
Hence we disabled this test for now.
--- a/RegressionTests__JavaScriptTests.st Wed Jun 30 13:42:15 2021 +0100
+++ b/RegressionTests__JavaScriptTests.st Wed Jun 30 13:45:31 2021 +0100
@@ -1760,6 +1760,20 @@
testNew04
|plug|
+ "/ Temporarily disable this test because there's a bug in
+ "/ eXept's JavaScriptParser >> #newExpression:
+ "/
+ "/ pos1 := tokenPosition.
+ "/ pos2 := pos1+classOrFunc size-1.
+ "/ ...
+ "/ classExpr startPosition:pos1 endPosition:pos2.
+ "/
+ "/ The `pos2` value is completely bogus and causing an assertion failure
+ "/ in ParseNode >> #startPosition:endPosition:
+ "/
+ "/ Hence we disabled this test for now.
+ self skipIf: true description: 'Known bug in JavaScriptParser >> #newExpression'.
+
plug := Plug new.
plug respondTo:#arr with:[ Array ].