-
Notifications
You must be signed in to change notification settings - Fork 214
Open
Labels
cleanupTech debt reduction, factoring, consolidation, rework, etc.Tech debt reduction, factoring, consolidation, rework, etc.
Description
Describe the bug
If the target DSLX src file depend on types (not constants) from its deps, the generated C++ will be invalid.
You will get error: use of undeclared identifier '<type defined in dependency>'
.
Expected behavior
There should be a mechanism to include generated headers from dependencies.
Additional context
Related: #1610 would expose this problem more heavily. To date, we've limited the impact of this bug because commonly its constants from DSLX dependencies that are referenced. These are just turned into literals in the generated C++.
Metadata
Metadata
Assignees
Labels
cleanupTech debt reduction, factoring, consolidation, rework, etc.Tech debt reduction, factoring, consolidation, rework, etc.