update descriptions for existing duplicate-capture-groups tests

This commit is contained in:
Kevin Gibbons 2022-07-31 18:26:13 -07:00 committed by Philip Chimento
parent d45766bef3
commit b42d184876
4 changed files with 16 additions and 12 deletions

View File

@ -2,10 +2,11 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: GroupSpecifiers must be unique.
description: GroupSpecifiers within one alternative must be unique.
info: |
It is a Syntax Error if Pattern contains multiple GroupSpecifiers
whose enclosed RegExpIdentifierNames have the same StringValue.
It is a Syntax Error if |Pattern| contains two distinct |GroupSpecifier|s
_x_ and _y_ for which CapturingGroupName(_x_) is the same as
CapturingGroupName(_y_) and such that CanBothParticipate(_x_, _y_) is *true*.
esid: sec-patterns-static-semantics-early-errors
negative:
phase: parse

View File

@ -2,10 +2,11 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: GroupSpecifiers must be unique.
description: GroupSpecifiers within one alternative must be unique.
info: |
It is a Syntax Error if Pattern contains multiple GroupSpecifiers
whose enclosed RegExpIdentifierNames have the same StringValue.
It is a Syntax Error if |Pattern| contains two distinct |GroupSpecifier|s
_x_ and _y_ for which CapturingGroupName(_x_) is the same as
CapturingGroupName(_y_) and such that CanBothParticipate(_x_, _y_) is *true*.
esid: sec-patterns-static-semantics-early-errors
negative:
phase: parse

View File

@ -2,10 +2,11 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: GroupSpecifiers must be unique.
description: GroupSpecifiers within one alternative must be unique.
info: |
It is a Syntax Error if Pattern contains multiple GroupSpecifiers
whose enclosed RegExpIdentifierNames have the same StringValue.
It is a Syntax Error if |Pattern| contains two distinct |GroupSpecifier|s
_x_ and _y_ for which CapturingGroupName(_x_) is the same as
CapturingGroupName(_y_) and such that CanBothParticipate(_x_, _y_) is *true*.
esid: sec-patterns-static-semantics-early-errors
negative:
phase: parse

View File

@ -2,10 +2,11 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: GroupSpecifiers must be unique.
description: GroupSpecifiers within one alternative must be unique.
info: |
It is a Syntax Error if Pattern contains multiple GroupSpecifiers
whose enclosed RegExpIdentifierNames have the same StringValue.
It is a Syntax Error if |Pattern| contains two distinct |GroupSpecifier|s
_x_ and _y_ for which CapturingGroupName(_x_) is the same as
CapturingGroupName(_y_) and such that CanBothParticipate(_x_, _y_) is *true*.
esid: sec-patterns-static-semantics-early-errors
negative:
phase: parse