You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce the behavior:
Run hh_client on the above
Expected behavior
No errors
Actual behavior
File "/root/foo.hack", line 6, characters 28-30:
Some members in class `Foo\FooBar` are incompatible with those declared in type `Bar\Bar` (Typing[4348])
File "/root/foo.hack", line 13, characters 9-15:
Expected `shape('a' => string)`
File "/root/foo.hack", line 7, characters 10-20:
But got `Bar\Bar\my_type`
Environment
Docker nightly
HipHop VM 6.33.0-dev (rel) (non-lowptr)
Compiler: 1676345911_402707174
Repo schema: 960a4d092e2e8175b8f0a3b2caecffb7c980c672
Describe the bug
We see an unexpected error in the code below. Replacing
use type Bar\{Bar};
withuse type Bar\Bar;
is a workaround for this issue.Standalone code, or other way to reproduce the problem
Steps to reproduce the behavior:
Run
hh_client
on the aboveExpected behavior
No errors
Actual behavior
Environment
Docker nightly
Additional context
Narrowed down to this breaking diff: e71e870...21598ba
The text was updated successfully, but these errors were encountered: