#oh i ran into this earlier while looking
1 messages · Page 1 of 1 (latest)
Yeah we have a few GH issues for various different bugs in this area but if there's any more please open as you hit them!
Not sure if they make sense to squash individually or as a group with some more general refactoring/fixing of the codegen code
I'm gonna try and grab a good number of them tomorrow - since they're all kinda together.
There's also a place to add some test cases, so I'll take any that I don't fix and add commented-out test cases in, so we can easily add the functionality in when we get around to it.
it's all sorts of fun things like "what should we do if a user tries to pass in a *string - ok maybe we should pass in a pointer to a string. then what if a user tries to pass in a ***string? that's possible as well
all the edge cases
Totally, there's quite a few cases in total (i.e. generics are ignored entirely too, at least in the code I originally wrote), so we should just try to identify the set of most common ones, fix those, and just aim to have comprehensible errors if we hit any unhandled case IMO