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

fix: std/portable included twice #2860

Merged
merged 1 commit into from
Jul 6, 2024
Merged

Conversation

JairusSW
Copy link
Contributor

@JairusSW JairusSW commented Jul 6, 2024

Whenever importing from within a transform,

import { Transform } from "assemblyscript/dist/transform.js";
import { Parser } from "assemblyscript/dist/assemblyscript.js";

I get the following warning:

compiler mismatch: std/portable included twice

The warning occurs with nearly every transform I have written and since it writes to stderr which is problematic.

Instead of warning the user when std/portable is imported twice, it seems more reasonable just to ignore it altogether. After all, its the compiler importing it twice, not the user.

@JairusSW JairusSW changed the title fix: unnecessary warn fix: std/portable included twice Jul 6, 2024
@CountBleck CountBleck merged commit f79391c into AssemblyScript:main Jul 6, 2024
16 checks passed
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.

2 participants