-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Intersection type bug around polymorphic type aliases #342
Comments
If I define |
I was actually able to simplify the test case. The whole Test structure is a red herring.
(EDIT: even simpler without the |
Is this the same issue as identified in this intersection test? |
@samwgoldman This issue has been fixed (both your examples work without errors), hence closing. There are other problems remaining with intersection types, but they could be tracked separately. (The test says what you tried should more or less work, but Subject may not be passable to an object type that has both next and observe.) |
The text was updated successfully, but these errors were encountered: