Opened 5 years ago

Last modified 9 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 5 years ago by simonmar

  • Description modified (diff)

comment:2 Changed 4 years ago by igloo

  • Milestone changed from 7.6.1 to 7.6.2

comment:3 Changed 4 years ago by simonpj

  • Description modified (diff)

comment:4 Changed 3 years ago by nomeata

comment:5 Changed 2 years ago by thoughtpolice

  • Milestone changed from 7.6.2 to 7.10.1

Moving to 7.10.1.

comment:6 Changed 23 months ago by thoughtpolice

  • Milestone changed from 7.10.1 to 7.12.1

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 14 months ago by thoughtpolice

  • Milestone changed from 7.12.1 to 8.0.1

Milestone renamed

comment:8 Changed 9 months ago by thomie

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