Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespactor: Inlining a type alias produces defective code #20

Open
fmorgner opened this issue Sep 20, 2018 · 0 comments
Open

Namespactor: Inlining a type alias produces defective code #20

fmorgner opened this issue Sep 20, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@fmorgner
Copy link
Contributor

Expected Behavior

Inlining the alias type alias in the below example should simply replace the occurrence of the alias in the call to the MACRO macro with int. However, int is actually prepended to the macro call.

#define MACRO(A, B) A B{}

using alias = int;

int main() {
	MACRO(alias, variable);
}

Actual Behavior

#define MACRO(A, B) A B{}

using alias = int;

int main() {
	intMACRO(alias, variable);
}

Cevelop Version, Operating System and Compiler

Cevelop 1.10.1, Any, Any

@fmorgner fmorgner self-assigned this Sep 20, 2018
@fmorgner fmorgner transferred this issue from Cevelop/Issues Feb 23, 2021
@fmorgner fmorgner added the bug Something isn't working label Feb 23, 2021
@fmorgner fmorgner changed the title Inlining a type alias produces defective code Macronator: Inlining a type alias produces defective code Feb 23, 2021
@fmorgner fmorgner changed the title Macronator: Inlining a type alias produces defective code Namespactor: Inlining a type alias produces defective code Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant