« Bugzilla Issues Index
#2233 — Static Semantics: Tail Position missing return value
- bug_id:
2233
- creation_ts:
2013-11-12 03:57:00 -0800
- short_desc:
Static Semantics: Tail Position missing return value
- delta_ts:
2014-08-07 14:32:43 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 21: November 8, 2013 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
minor
- everconfirmed:
true
- reporter:
Bartek Swierczynski
- assigned_to:
Allen Wirfs-Brock
- commentid:
6667
- comment_count:
0
- who:
Bartek Swierczynski
- bug_when:
2013-11-12 03:57:58 -0800
In '14.6.1 Static Semantics: Tail Position', the last step is:
> 6. Let has be HasProductionInTailPosition of body with argument nonterminal.
It defines the 'has' variable, but the variable is never returned as it is the last step of Tail Position. In other steps, Tail Position returns true or false.
It looks like we should either return 'has' in another step (7th) or step 6 should be modified to return the value of the HasProductionInTailPosition invocation.
- commentid:
9719
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-08-07 14:32:43 -0700
this was fixed sometime prior to rev25