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

[nim/en] Fixed instantiation of the reference object #5234

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cd-n0
Copy link

@cd-n0 cd-n0 commented Jan 16, 2025

Fixed wrong instantiation of the reference object Room.

While using var defaultRoom = new Room instead of var defaultRoom = new Room() is also valid, I opted to use the preferred syntax var defaultRoom = Room()

  • I solemnly swear that this is all original content of which I am the original author
  • Pull request title is prepended with [language/lang-code] (example [python/fr] or [java/en])
  • Pull request touches only one file (or a set of logically related files with similar changes made)
  • Content changes are aimed at intermediate to experienced programmers (this is a poor format for explaining fundamental programming concepts)
  • If you've changed any part of the YAML Frontmatter, make sure it is formatted according to CONTRIBUTING.md

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