Tcl Source Code

View Ticket
Login
Ticket UUID: 1033689
Title: defer compile errors
Type: Patch Version: None
Submitter: dgp Created on: 2004-09-23 21:49:06
Subsystem: 47. Bytecode Compiler Assigned To: msofer
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-09-26 23:36:19
Resolution: Accepted Closed By: msofer
    Closed on: 2004-09-26 16:36:19
Description:
Bug 1032805 was about
deferring syntax errors to runtime.
It's fixed now, but the issue is
actually far more general.

All errors detected at compile
time should have their reporting
deferred to runtime, mostly because
by the time runtime comes around,.
the state of the interp may have changed
so that there's no longer an error to report.

Here's a big patch that puts an
end to all error reporting at compile time.

The patch also includes a good amount
of code reduction.  When there's no
longer such a thing as a compile time
error, lots of code that exists only to
originate, pass through, detect and
report such errors can all be eliminated.
User Comments: msofer added on 2004-09-26 23:36:19:
Logged In: YES 
user_id=148712

Patch reviewed, liked, approved, committed to HEAD.

dgp added on 2004-09-24 04:49:09:

File Added - 102603: defer.patch

Attachments: