misalcedo / tortuga

A CGI and WCGI server for HTTP/1.1
Apache License 2.0
7 stars 0 forks source link

Improve Tortuga's multimethod to disallow overlapping function definitions. #87

Closed misalcedo closed 2 years ago

misalcedo commented 2 years ago

Determine a function's domain in semantic analysis and error if 2 or more function definitions have overlapping bounds.

Functions with different arity are not compared.

https://en.wikipedia.org/wiki/Multiple_dispatch

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue has been automatically closed because it has not had recent activity. You may re-open the issue if it is still relevant.