Skip to content

Don't use a new variable intermittently for the same pointer - #4338

Closed
Dante-Broggi wants to merge 1 commit into
ponylang:mainfrom
Dante-Broggi:no-new-var
Closed

Dante-Broggi wants to merge 1 commit into
ponylang:mainfrom
Dante-Broggi:no-new-var

Conversation

@Dante-Broggi

Copy link
Copy Markdown
Contributor

Instead cast at each use with the new type.
One of the commits originally in #4331

Instead cast at each use with the new type.
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Mar 20, 2023
@SeanTAllen

Copy link
Copy Markdown
Member

I prefer the code as is. There final product should be identical but the existing is less error prone in my mind.

@SeanTAllen SeanTAllen removed the discuss during sync Should be discussed during an upcoming sync label Apr 4, 2023
@jemc

jemc commented Apr 4, 2023

Copy link
Copy Markdown
Member

I agree with @SeanTAllen

@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Apr 4, 2023
@SeanTAllen SeanTAllen removed the discuss during sync Should be discussed during an upcoming sync label Apr 4, 2023
@SeanTAllen SeanTAllen closed this Sep 19, 2026
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.

4 participants