- Somewhere in Australia
- https://maxwellj.xyz
-
So I exist
- Joined on
2024-06-10
Block a user
Generic type constraints
Type constraints aren't implemented yet. You can do
struct Box[T] {}
but no has, can, holds, any of these
I haven't even figured out the syntax which I will use
Can't return template from function.
Bug is possibly fixed in 45c9d9ee37 but I need to test further before merging into master
Can't return template from function.
Also this bug applies to:
new- function args
- fun(), template(), object()
- And probably more
Show argument names with error "Incorrect amount of arguments for function"
Show argument names with error "Incorrect amount of arguments for function"
Maybe in future, the current compiler kinda complicated enough as is
Check argument types when calling function