Issue warning is -main-is is used in OPTIONS pragma
#2710 (closed) notes that -main-is does not currently work in an OPTIONS pragma. However, in thomie and my opinion -main-is, -rtsopts, the various way options (e.g. -debug, -prof, etc.), etc. have no sensible interpretation in this context.
I suggest that they should be ignored and we should throw a warning when they are encountered.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.2.2 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |