Opened 5 years ago

Last modified 9 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


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.

Change History (1)

comment:1 Changed 9 months ago by felix winkelmann

Milestone: someday6.0.0
Note: See TracTickets for help on using tickets.