Skip to content

Conversation

jakebailey
Copy link
Member

@jakebailey jakebailey commented Jul 18, 2022

Fixes #49942

(I have no idea what I'm doing in the code flow engine)

Debug.fail("Unhandled type " + Debug.formatTypeFlags(type.flags));
}
}
return type as ResolvedType;
Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe this should assert each of the things that ResolvedType is assuming are defined, but I don't know how expensive that would be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author: Team For Milestone Bug PRs that fix a bug with a specific milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash in narrowing when using for-in

4 participants