Ticket #5791 (new task)

Opened 4 months ago

Last modified 4 months ago

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

Reported by: simonmar Owned by:
Priority: normal Milestone: 7.6.1
Component: Compiler Version: 7.2.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets: 5778

Description (last modified by simonmar) (diff)

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.

Change History

Changed 4 months ago by simonmar

  • description modified (diff)
Note: See TracTickets for help on using tickets.