Wiki

Ticket #313 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

readonly isnames property not listed as a keyword

Reported by: hopscc Owned by:
Priority: trivial Milestone:
Component: Cobra Compiler Version: 0.8.0
Keywords: readonly Cc:

Description

'readonly' is listed in validIsNames list in CobraParser:830 but is not also listed in rawSpecs list in KeywordSpecs.cobra unlike all the other isNames values.

Presumably this is just an omission from the late addition support for 'readonly'.

No additional failures in test run if make it such a keyword.

trivial patch appended.
Longer term, valid isNames should be pulled from rawSpecs list rather than internally recorded and used from a different and separate list.

Found by didrik
 Official Cobra Grammar

Attachments

readonly-keyword.patch Download (0.9 KB) - added by hopscc 5 years ago.

Change History

Changed 5 years ago by hopscc

Changed 5 years ago by Charles

  • status changed from new to closed
  • resolution set to fixed

Fixed in changeset:2902

Note: See TracTickets for help on using tickets.