Opened 3 years ago

Last modified 5 months ago

#5791 new task

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

Reported by: simonmar Owned by:
Priority: normal Milestone: 7.12.1
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 Revisions:

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 (6)

comment:1 Changed 3 years ago by simonmar

  • Description modified (diff)

comment:2 Changed 3 years ago by igloo

  • Milestone changed from 7.6.1 to 7.6.2

comment:3 Changed 2 years ago by simonpj

  • Description modified (diff)

comment:4 Changed 17 months ago by nomeata

comment:5 Changed 11 months ago by thoughtpolice

  • Milestone changed from 7.6.2 to 7.10.1

Moving to 7.10.1.

comment:6 Changed 5 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.

Note: See TracTickets for help on using tickets.