We've found a bug for you! /.../fixtures/module_without_instance_of.res:1:1-7 1 │ @module("three") type mesh 2 │ @module on a type declaration names the module a class is imported from, so it needs @instanceOf too. Add @instanceOf with the name of the class, or remove @module.