Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001923Core InformSource text and punctuationpublic2016-06-21 19:552016-06-22 12:52
Assigned To 
PlatformmacOSEl CapitanOS VersionOS X 10.11.4
Product Version6M62 
Target VersionFixed in Version 
Summary0001923: I7 compiler error 11 on mispunctuated phrase involving regular expressions
DescriptionA decide whether phrase that involves an if-phrase that tests a regular expression and ends with a semicolon rather than a colon, followed by an attempt to invoke a subexpression from that match, yielded an internal error from the compiler.
Minimal Source Text To Reproduce
Lab is a room.

To decide whether (string - a text) starts with a vowel sound:
	if string matches the text "^\W*(\w*)\b"; [should be a colon, not a semicolon!]
		let the first word be the text matching subexpression 1;
Additional InformationTranslating the Source - Failed
The application ran your source text through the Inform 7 compiler, as usual, but the compiler unexpectedly failed. This should not happen even if your source text is gibberish, so you may have uncovered a bug in the program.

When a program like the I7 compiler fails, it typically returns an error number: this time, the number was 11, and that probably indicates that the compiler failed to manage its data structures properly. Perhaps you created a complicated situation on which it has not been fully tested.

The best option now is probably to reword whatever was last changed and to try again. Subsequent attempts will not be affected by the failure of this one, so there is nothing to be gained by restarting the application or the computer. A failed run should never damage the source text, so your work cannot be lost.

If you think it likely that the Inform 7 compiler is at fault, please check that you have the currently distributed build of the system: if you have, please consider taking the time to fill out a bug report at the Inform bug tracker ( If you think the fault may be due to a problem in an extension you're using, then please contact the extension's author directly.

Sorry for the inconvenience.
TagsNo tags attached.
Effect(mild) Inform 6 reports errors for invalid code
Attached Files

- Relationships
duplicate of 0001837confirmed Crash on wrongly-terminated if phrase 

-  Notes
dfremont (reporter)
2016-06-22 10:52

This is probably a special case of 0001837.
zarf (developer)
2016-06-22 12:51

Yes, same stack trace.

- Issue History
Date Modified Username Field Change
2016-06-21 19:55 mattweiner New Issue
2016-06-22 10:52 dfremont Note Added: 0004477
2016-06-22 12:51 zarf Note Added: 0004481
2016-06-22 12:51 zarf Relationship added duplicate of 0001837
2016-06-22 12:52 zarf Summary I6 compiler error 11 on mispunctuated phrase involving regular expressions => I7 compiler error 11 on mispunctuated phrase involving regular expressions

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker