PuzzleScript icon indicating copy to clipboard operation
PuzzleScript copied to clipboard

Condition containing Ellipsis that leads to restart causes Uncaught TypeError

Open tmoritaa opened this issue 13 years ago • 3 comments

The line "Late vertical [Crate | ... | Player] -> restart" seems to cause an uncaught type error in the rulesToMask function in compiler.js, specifically when handling "...".

This causes the rebuild and run buttons to not work at all, and the reason for the error is also not apparent at first due to there being no obvious error message.

tmoritaa avatar Oct 26 '13 23:10 tmoritaa

Noted, thanks for the report!

On Sun, Oct 27, 2013 at 1:14 AM, Tatsuya Morita-Ahad < [email protected]> wrote:

The line "Late vertical [Crate | ... | Player] -> restart" seems to cause an uncaught type error in the rulesToMask function in compiler.js, specifically when handling "...".

This causes the rebuild and run buttons to not work at all, and the reason for the error is also not apparent at first due to there being no obvious error message.

— Reply to this email directly or view it on GitHubhttps://github.com/increpare/PuzzleScript/issues/18 .

increpare avatar Oct 26 '13 23:10 increpare

No Problem!

tmoritaa avatar Oct 27 '13 05:10 tmoritaa

can't reproduce anymore. assuming fixed. thanks :) ( just in my local branch so far, but i should have it uploaded to the website within the next couple of days - for when i do, here's teh repro http:/.www.puzzlescript.net/play.html?p=9074711 )

increpare avatar Feb 18 '14 16:02 increpare