Opened 6 years ago

Last modified 20 months ago

#5791 new task

Defer other kinds of errors until runtime, not just type errors

Reported by: simonmar Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.2.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: #5778 #393 Differential Rev(s):
Wiki Page:

Description (last modified by simonpj)

In #5624 we added -fdefer-type-errors to turn type errors into warnings. We can do this for other kinds of errors too, notably out-of-scope errors, and there are plenty more errors that can be deferred by replacing the erroneous subexpression by a call to error. See also #1341

Change History (8)

comment:1 Changed 6 years ago by simonmar

Description: modified (diff)

comment:2 Changed 5 years ago by igloo


comment:3 Changed 5 years ago by simonpj

Description: modified (diff)

comment:4 Changed 4 years ago by nomeata

comment:5 Changed 3 years ago by thoughtpolice


Moving to 7.10.1.

comment:6 Changed 3 years ago by thoughtpolice


Moving to 7.12.1 milestone; if you feel this is an error and should be addressed sooner, please move it back to the 7.10.1 milestone.

comment:7 Changed 2 years ago by thoughtpolice


Milestone renamed

comment:8 Changed 20 months ago by thomie

Milestone: 8.0.1
Note: See TracTickets for help on using tickets.