Closed jackhumbert closed 9 months ago
good catch,
this seems to be an issue with cb
and native
functions - the way they're matched (using function signatures) in this case ignores the function parameter types which can lead to the compiler accepting invalid code like this and then getting stuck at a later stage
the lint doesn't hang anymore, it fails with an error (although not a very good one), but I think this can be closed
This is similar to the block I had in my code, which caused
lint
to hang and grow in size until memory limits were reached:Just for reference, this is the correct header that returns as normal;
Thanks for all your work on this!