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

[bug]: VM Emulator shows error message "File name Main.vm doesn't match class name Main (at Main.main)" when uploading files #530

Open
2 tasks done
dorianignee opened this issue Dec 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dorianignee
Copy link
Contributor

Tool

None

Interface

None

Contact Details

No response

What happened?

When uploading any local folder to the VM emulator, it shows an error message, stating that the file name doesn't match the class name.
image

Additional Comments

The function validateFile() in simulator/src/vm/vm.ts checks if "Main" is equal to "Main.vm", what obviously isn't the case.

Do you want to try to fix this bug?

  • I want to try to add this feature!

Code of Conduct

  • I agree to follow this project's Code of Conduct
@dorianignee dorianignee added the bug Something isn't working label Dec 10, 2024
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