Anonymous | Login | Signup for a new account | 2018-04-20 13:07 PDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
ID | Project | Category | View Status | Date Submitted | Last Update | |
0000342 | Core Inform | Phrases and functional programming | public | 2010-10-22 11:42 | 2010-10-28 00:31 | |
Reporter | EmacsUser | |||||
Assigned To | graham | |||||
Priority | normal | Severity | mild | Reproducibility | always | |
Status | closed | Resolution | fixed | |||
Platform | x86 | OS | Mac OS X | OS Version | 10.4 | |
Product Version | 6E72 | |||||
Target Version | Fixed in Version | 6F95 | ||||
Summary | 0000342: Phrases may contains parenthetical expressions that do not describe their arguments | |||||
Description | Again, maybe not worth fixing, but the phrase in the attached source is unexpectedly allowed. | |||||
Minimal Source Text To Reproduce | There is a room. To agree (called okaying): say "Ok." When play begins: agree (called okaying). | |||||
Tags | No tags attached. | |||||
Effect | (mild) Compiler accepts invalid code | |||||
Attached Files | ||||||
![]() |
|
(0000716) jmcgrew (administrator) 2010-10-23 00:29 |
Confirmed. Only works when the parenthetical in the definition starts with "called". Once the phrase is defined that way, any text is accepted in the invocation, even without parentheses: <code> When play begins: agree to disagree; agree("I wholeheartedly concur", MAX_AGREEMENT); agree -f -v 100. </code> |
(0000735) graham (administrator) 2010-10-24 04:02 |
Fixed. There's now a problem message (actually two, one of them to provide a hint if it looks as if the user has been trying to give a phrase a name). |
![]() |
|||
Date Modified | Username | Field | Change |
2010-10-22 11:42 | EmacsUser | New Issue | |
2010-10-22 11:52 | EmacsUser | Summary | Phrases may contains some parenthetical expressions => Phrases may contains parenthetical expressions that do not describe their arguments |
2010-10-22 11:58 | EmacsUser | Description Updated | View Revisions |
2010-10-22 11:58 | EmacsUser | Steps to Reproduce Updated | View Revisions |
2010-10-23 00:29 | jmcgrew | Note Added: 0000716 | |
2010-10-23 00:29 | jmcgrew | Status | new => confirmed |
2010-10-24 04:02 | graham | Note Added: 0000735 | |
2010-10-24 04:02 | graham | Status | confirmed => resolved |
2010-10-24 04:02 | graham | Resolution | open => fixed |
2010-10-24 04:02 | graham | Assigned To | => graham |
2010-10-25 21:14 | jmcgrew | Fixed in Version | => 6F95 |
2010-10-28 00:31 | jmcgrew | Status | resolved => closed |
Copyright © 2000 - 2010 MantisBT Group |