Ticket #336 (closed enhancement: fixed)

Opened 6 years ago

Last modified 5 years ago

Provide arg vs parameter sanity checking on (PostCallExpr) constructor calls

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


Cobra currently doesnt check args vs parameters on (PostCallExpr) constructor calls instead relying/falling through to backend compiler checks/errors.
Cobra should do its own checks and sanity checking for some/all of this.

Do as follow on to ticket:326 as liable to some confounding with both named args and extended property inits.


chk-args-vs-param.patch Download (4.6 KB) - added by hopscc 5 years ago.

Change History

Changed 6 years ago by hopscc

(hopscc reminder: effort to date in changes-held/Expr-namedParam-and-chk-Initializer.cobra - extend _chkInitializer, fillin TODOs, handle variArgs, fixup existing Tests - 850-BadInit and add more))

Changed 6 years ago by Charles

ticket:326 patch is applied now

Changed 5 years ago by hopscc

Changed 5 years ago by hopscc

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

patch for cobra chk args vs params. Correct existing tests relying on (csc) compiler messages.

Changed 5 years ago by Charles

Thanks. Applied in changeset:3048

Changed 5 years ago by Charles

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.