# HG changeset patch # User Jan Vrany # Date 1625057131 -3600 # Node ID 2b0346a924e639577ea0270b47c84f511f508253 # Parent d0679511ef191570a18bc400aaffcdc6c128f2bc 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. diff -r d0679511ef19 -r 2b0346a924e6 RegressionTests__JavaScriptTests.st --- 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 ].