Wiki

Ticket #183 (closed defect: fixed)

Opened 15 years ago

Last modified 15 years ago

Assert Exception instead of parse error

Reported by: hopscc Owned by: Chuck
Priority: medium Milestone:
Component: Cobra Compiler Version: 0.8.0
Keywords: Cc:

Description

Below code throws an assert exception when parsing rather than an error message.

class Pb
	def pox (p as System.Object)	# <<- parse bug here assertExc ( spc between ID and '(')
		pass

	def main is shared
		pass

Attachments

method-spc-after-name.patch Download (1.6 KB) - added by hopscc 15 years ago.

Change History

Changed 15 years ago by hopscc

Changed 15 years ago by hopscc

  • owner set to Chuck
  • status changed from new to assigned

catch this case and emit error msg, test and relnote.

Changed 15 years ago by Chuck

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

Thanks. Applied in changeset:2230

Note: See TracTickets for help on using tickets.