Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001863Core InformSource text and punctuationpublic2016-02-02 20:052016-02-03 00:55
ReporterSeanStark 
Assigned To 
PrioritynormalSeverityseriousReproducibilityalways
StatusclosedResolutionduplicate 
PlatformInform7OSWindowsOS Version8.1
Product Version6M62 
Target VersionFixed in Version 
Summary0001863: Translating the Source - Failed
DescriptionI won't bother adding the room or the person named the Orderly since the problem seems to relate to an action only.

My source text was working fine and then I added a "check" to the text.

Check flirting with:
if the person is distracted;
say "No need, he's already totally engrossed in you.";
stop.

After this the "Translating the Source - Failed" message appeared.
After I deleted the "check" it worked fine again.
In additional information it has the message that appeared.

Is this a bug?
Minimal Source Text To Reproduce
Flirting with is an action applying to one thing.
Understand "flirt with [someone]" as flirting with.

Understand "flirt at [someone]" as flirting with.
Understand "tease [someone]" as flirting with.

Check flirting with yourself:
	 say "No. You're not your type.";
	 stop.

Check flirting with something that is not a person:
	 say "[The noun] does not reciprocate your affection.";
	 stop.

A person can be distracted.

Carry out flirting with someone:
	 now the noun is distracted.
	
Report flirting with someone:
	 say "Your hospital gown leaves very little to the imagination and using that you reveal your assets 
to [the noun], and [the noun] falls immediately under your power."

Instead of taking the gold guard key when the Orderly carries the gold guard key:
	 if the Orderly is distracted:
		  say "While the Orderly is utterly engrossed in you, you deftly slip the key off his belt.";
		  
move the gold guard key to the player;
	 otherwise:
		  say "The Orderly is too alert for you to just take the key. If only you had a way to distract 
him..."

Instead of taking the silver guard key when the Orderly carries the silver guard key:
	 if the Orderly is distracted:
		  say "While the Orderly is utterly engrossed in you, you deftly slip the key off his belt.";
		  
move the silver guard key to the player;
	 otherwise:
		  say "The Orderly is too alert for you to just take the key. If only you had a way to distract 
him..."

Check flirting with:
	if the person is distracted;
	say "No need, he's already totally engrossed in you.";
	stop.
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 10, 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 (www.inform7.com/bugs). 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.
Tags6M62
Effect(critical) Compiler crashes
Attached Files

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

-  Notes
(0004352)
zarf (developer)
2016-02-02 22:48

Please include all code necessary to demonstrate the crash when you file a bug.
(0004353)
zarf (developer)
2016-02-02 22:50

The backtrace is identical to http://inform7.com/mantis/view.php?id=1837 [^] , which gives a clue where the problem is. Your last stanza is

Check flirting with:
	if the person is distracted;
	say "No need, he's already totally engrossed in you.";
	stop.


When you're using colon-and-indentation style, an "if" line must end with a colon. You have a semicolon. The compiler should report a problem, but it crashes instead.

So this is a bug, but it's a duplicate.

- Issue History
Date Modified Username Field Change
2016-02-02 20:05 SeanStark New Issue
2016-02-02 20:06 SeanStark Tag Attached: 6M62
2016-02-02 20:06 SeanStark Issue Monitored: SeanStark
2016-02-02 22:48 zarf Note Added: 0004352
2016-02-02 22:50 zarf Note Added: 0004353
2016-02-02 22:51 zarf Relationship added has duplicate 0001837
2016-02-03 00:54 curiousdannii Relationship deleted has duplicate 0001837
2016-02-03 00:54 curiousdannii Relationship added duplicate of 0001837
2016-02-03 00:55 curiousdannii Status new => closed
2016-02-03 00:55 curiousdannii Resolution open => duplicate


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker