Project

General

Profile

Bug #2353

Bugs in Doomsday Script parsing and execution

Added by skyjake 9 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Defect
Target version:
Start date:
2019-11-25
% Done:

100%

Tags:

Description

  • "doomsdayscript" tool can't import modules from the same directory
  • parser fails when encountering a single-line compound at end of file
  • slice operator doesn't omit the last element when range begins beyond the end of the array
  • typo in exception error message when thrown from script ("in thrown in script")
  • identifier lookup operator -> doesn't allow nested identifiers (a->b->c)
  • assertion failure when trying to pass an owned reference to record as argument
  • Record() does not accept a dictionary as argument to construct a record
  • trying to print a null reference aborts the script (just print "null" instead)
  • each function remembers and accesses its own module's global namespace
  • "export" keyword is useless and should be removed

History

#1 Updated by skyjake 8 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF