#instanceof checks fail
1 messages · Page 1 of 1 (latest)
In this case I'm having right now, yjs is checking for YArray instanceof AbstractType, which it definitely is. Was working for weeks, and then just stopped working. Inspecting the type via devtools shows it clearly is an instance of AbstractType, but not the AbstractType that is in scope for some reason.
Seen similar issue where symbol checks failed and I had to compare symbol1.description == symbol2.description instead of symbol1 == symbol2 to get the check to pass when the code only defines the symbol once as a module level symbol.