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
I put the [Feature Request] tag on this so that the issue makes more sense, but ofc if this is not a request, especially if there are higher priorities =), so feel free to tag or close this
I noticed codon does not mangle names, which is what canonically allows C++ to overload anything.
For example, it would be cool if I could drop the "2" from the second fn name, something I can't do in Python because it lacks static typing:
If I rename both functions the same
make_fs
and print the signature:it seems only the last defined is registered:
make_fs[str,Array[int],Array[int]]
while if I just swap the order in which they are defined in the file, I can change the final implementation:
make_fs[str]
I understand why this makes sense, but it feels very interpreted-like, and not compiled-like.
The text was updated successfully, but these errors were encountered: