Skip to content

Fix code in Scala Tour > Singleton Objects > Companion Objects #2911

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

Conversation

VMironiuk
Copy link
Contributor

Imported Pi from scala.math to resolve the "Not found: Pi" compilation error.

Copy link
Member

@Philippus Philippus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make the imports in the same style for scala 2 and 3?

@VMironiuk VMironiuk requested a review from Philippus October 6, 2023 17:12
@Philippus Philippus merged commit a815e66 into scala:main Oct 6, 2023
@Philippus
Copy link
Member

Thanks!

@VMironiuk VMironiuk deleted the fix/scala-tutorial/singleton-objects/companion-objects-code branch October 14, 2023 08:29
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