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
When the cube function compiles, but not the expand function, it's hard to display good error messages! Not sure what we can do about it except try to bring those errors in the cube functions.
When the cube function compiles, but not the expand function, it's hard to display good error messages! Not sure what we can do about it except try to bring those errors in the cube functions.
Hm- this sounds like a situation that shouldn't happen then.
Could it then be considered a bug that the cube function compiled in such a case?
There are stuff that we can't detech from the cube function only. We rely on the type system to also validate the expand function. Things like does the expand method exist, do comptime branches return the same type, etc.
Example:
If possible spans from the proc macro should be used such that:
It can get difficult to know which method actually causes compile problems when doing larger refactors.
The text was updated successfully, but these errors were encountered: