Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12997] CodeProcessor: Clean up undefined identifier exceptions

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-03-15T19:30:21.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.1.0, 2013 Sprint 06 JS, 2013 Sprint 06
ComponentsCode Processor
Labelsn/a
ReporterBryan Hughes
AssigneePraveen Innamuri
Created2013-03-07T23:59:08.000+0000
Updated2017-03-09T00:25:09.000+0000

Description

The code processor should show a better error message when an undefined identifier is referenced.
foo()
currently throws the exception
Cannot dereference foo of undefined
but that doesn't really help. It should say something more user friendly

Comments

  1. Bryan Hughes 2013-03-15

    Turns out this was *way* simpler than I thought it would be, yay!
  2. Lee Morris 2017-03-09

    Closing ticket as fixed.

JSON Source