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

Removed unnecessary nested generic type #270

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

mjohnson12
Copy link
Collaborator

@mjohnson12 mjohnson12 commented Feb 13, 2024

Nested type ExpectedSideEffect was using the same name for the workflow generic type as the outer type RenderTester. This created a shadowed type name warning.
Removing the generic type got rid of the warning

Checklist

  • Unit Tests
  • UI Tests
  • Snapshot Tests (iOS only)
  • I have made corresponding changes to the documentation

@mjohnson12 mjohnson12 requested a review from a team as a code owner February 13, 2024 16:30
@mjohnson12 mjohnson12 force-pushed the markj/fix_nested_generic_type_warning branch from 1246db7 to e1a3f0b Compare February 13, 2024 17:12
@mjohnson12 mjohnson12 changed the title Fixed nested generic type names being the same Removed unnecessary nested generic type Feb 13, 2024
ExpectedSideEffect had a unnecessary WorkflowType that was shadowing the outer WorkflowType type.
@mjohnson12 mjohnson12 force-pushed the markj/fix_nested_generic_type_warning branch from e1a3f0b to 6d77614 Compare February 13, 2024 19:37
@mjohnson12 mjohnson12 merged commit 427bfe6 into main Feb 13, 2024
@mjohnson12 mjohnson12 deleted the markj/fix_nested_generic_type_warning branch February 13, 2024 19:45
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.

3 participants