Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002070Core InformSource text and punctuationpublic2018-08-31 11:002018-08-31 11:23
Assigned To 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002070: error in source text and indentation for "repeat with" causes compiler error 11
DescriptionIn the code below, I made the mistake of using "repeat" with a ; at the end and not indenting. My bad. This feels like it should be caught and returned with a normal error message, but instead it gives the "This should not happen even if your source text is gibberish, so you may have uncovered a bug in the program." error and reports compiler error 11.
Minimal Source Text To Reproduce
Explaining is an action out of world applying to one topic.  Understand "explain [text]" 
as explaining.

Report explaining:
	let L be the topic understood;
	repeat with I running from 1 to the number of rows in the Table of Explanations;
	choose row I in the Table of Explanations;
	if there is a subject entry:
		if L is the subject entry:
			say "Explanation here."
Table of Explanations
subject (text)
TagsNo tags attached.
Effect(critical) Compiler reports internal error
Attached Files

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

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-08-31 11:00 jeremy New Issue
2018-08-31 11:23 zarf Relationship added duplicate of 0001837

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker