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

Show::to_string is enough #1243

Closed
wants to merge 1 commit into from
Closed

Show::to_string is enough #1243

wants to merge 1 commit into from

Conversation

bobzhang
Copy link
Contributor

No description provided.

// pub fn to_string[X : Show](self : FixedArray[X]) -> String {
// // Show::to_string(self)
// self.to_string() // this may cause nonterminated recursion
// }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is actually non-terminating, we may detect this cc @Yu-zh

@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 3935

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.003%) to 79.883%

Totals Coverage Status
Change from base Build 3934: -0.003%
Covered Lines: 4356
Relevant Lines: 5453

💛 - Coveralls

@bobzhang bobzhang closed this Nov 27, 2024
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