Bug 52514 - MonoError failures lead to assertions in AOT
Summary: MonoError failures lead to assertions in AOT
Status: CONFIRMED
Alias: None
Product: Runtime
Classification: Mono
Component: General (show other bugs)
Version: unspecified
Hardware: All All
: --- enhancement
Target Milestone: Future Cycle (TBD)
Assignee: Aleksey Kliger
URL:
Depends on:
Blocks:
 
Reported: 2017-02-14 23:17 UTC by Alexander Kyte
Modified: 2017-02-14 23:27 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Alexander Kyte 2017-02-14 23:17:53 UTC
MonoError offers a consistent error interface. When errors are made during execution, we usually transform them into exceptions and pretty-print them. When errors are made during AOT compilation, on the other hand, the error is usually turned into an immediate assertion. 

We should report errors during AOT in a more graceful way than an assertion most of the time.

Note You need to log in before you can comment on or make changes to this bug.