Skip to content

Commit

Permalink
update descriptions for existing duplicate-capture-groups tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot authored and ptomato committed Aug 9, 2022
1 parent d45766b commit b42d184
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b42d184

Please sign in to comment.