Skip to content

Avoid Special Handling of the "Unknown" Type Name #299

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

Merged
merged 6 commits into from
Apr 21, 2025

Conversation

sidepelican
Copy link
Collaborator

@sidepelican sidepelican commented Apr 15, 2025

Fix the handling of the type name "Unknown".
Previously, using "Unknown" as a type name would trigger special treatment and lead to unintended behavior.

Stop using empty value as SwiftType, it has implicit behavior depending its value. Use void type when representing empty return value.

@sidepelican sidepelican requested review from fummicc1 and uhooi April 15, 2025 07:00
# Conflicts:
#	Sources/MockoloFramework/Utils/TypeParser.swift
Copy link
Collaborator

@fummicc1 fummicc1 left a comment

Choose a reason for hiding this comment

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

LGTM about method side! Let me ask a question about VarDecl.

Copy link
Collaborator

@fummicc1 fummicc1 left a comment

Choose a reason for hiding this comment

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

LGTM!

@sidepelican sidepelican merged commit c0dd757 into uber:master Apr 21, 2025
5 checks passed
@sidepelican sidepelican deleted the remove_Unknown branch April 21, 2025 23:53
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