« Bugzilla Issues Index
#2581 — 14.1.5 Definition for ExpectedArgumentCount seems to have a typo
- bug_id:
2581
- creation_ts:
2014-03-19 09:54:00 -0700
- short_desc:
14.1.5 Definition for ExpectedArgumentCount seems to have a typo
- delta_ts:
2014-04-06 11:30:32 -0700
- product:
Draft for 6th Edition
- component:
editorial issue
- version:
Rev 22: January 20, 2014 Draft
- rep_platform:
PC
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Aneesh D
- assigned_to:
Allen Wirfs-Brock
- commentid:
7450
- comment_count:
0
- who:
Aneesh D
- bug_when:
2014-03-19 09:54:26 -0700
In chapter 14.1.5, definition for ExpectedArgumentCount it is said as a note that,
The ExpectedArgumentCount of a FormalParameterList is the number of FormalParameters to the left of either the rest parameter or the first FormalParameter with an Initialiser.
But then the definition for the production FormalsList is defined like this,
FormalsList : FormalParameter
1. If HasInitialiser of FormalParameter is false return 0
2. Return 1.
Shouldn't it be saying “... of FormalParameter is true…”?
- commentid:
7453
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-03-19 13:56:03 -0700
fixed in rev23 editor's draft
- commentid:
7564
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-06 11:30:32 -0700
fixed in rev23 draft