Skip to content

Add macro for symbol mapping + Fix test_prelude_imports test + fmt#3

Open
LevBeta wants to merge 2 commits intoControlCplusControlV:masterfrom
LevBeta:beta/symbol-macro
Open

Add macro for symbol mapping + Fix test_prelude_imports test + fmt#3
LevBeta wants to merge 2 commits intoControlCplusControlV:masterfrom
LevBeta:beta/symbol-macro

Conversation

@LevBeta
Copy link

@LevBeta LevBeta commented Jun 25, 2025

This PR adds a macro for symbol mapping, so we don’t have to define each symbol manually anymore.

Also fixed the test_prelude_imports test because the outer use super::*; already imports all the symbols into the test, making the use crate::types::symbols::prelude::*; inside the test useless.

The docs for each symbol still show up fine, since the macro adds them.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant