-
-
Notifications
You must be signed in to change notification settings - Fork 312
Closed
Labels
Enhancement RequestNew feature or requestNew feature or requestFixed needs testingNeeds verification / testing that it now worksNeeds verification / testing that it now worksSemantic AnalysisChanges to semantic behaviour, including compile time folding.Changes to semantic behaviour, including compile time folding.Syntax change
Milestone
Description
While it is possible to have separate modules using @if
module foo @if(...);
module foo @if(...);
I think it could be neat to also have this supported with import, so that less code duplication could occur
module foo;
import bar @if(...);
As of now, compiler returns Error: Only '@public' and '@norecurse' are valid attributes here. as expected.
Metadata
Metadata
Assignees
Labels
Enhancement RequestNew feature or requestNew feature or requestFixed needs testingNeeds verification / testing that it now worksNeeds verification / testing that it now worksSemantic AnalysisChanges to semantic behaviour, including compile time folding.Changes to semantic behaviour, including compile time folding.Syntax change