Opened 6 years ago
Last modified 14 months ago
#1605 new enhancement
Display compiler warnings for macros with missing imports
Reported by: | Vasilij Schneidermann | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 6.0.0 |
Component: | compiler | Version: | 5.0.0 |
Keywords: | Cc: | ||
Estimated difficulty: | hard |
Description
The compiler already displays warnings for procedures with missing imports which is super useful, especially when compiling code that's not wrapped in a module (wrapping it in a module will turn the warnings into errors). However there is no equivalent for macros with missing imports and neither does wrapping them into a module produce a warning or error. This leads to less than obvious errors if you later import such a macro into other code and compile it, you'll then get an error for the import you forgot to add for the macro's module. See #1603 for an example.
Note: See
TracTickets for help on using
tickets.