ngs-lang / ngs

Next Generation Shell (NGS)
https://ngs-lang.org/
GNU General Public License v3.0
1.49k stars 41 forks source link

init() with empty ** causes MethodNotFound #582

Closed ilyash-b closed 2 years ago

ilyash-b commented 2 years ago
type T
T(**{})

causes

+----------------------------------------------------------------------+
| The arguments did not match any of the methods' parameters.          |
| Method or MultiMethod name: init                                     |
| Called with arguments' types: T                                      |
| Please check that you pass the right number of arguments.            |
| Please check that arguments' types are matching methods' parameters. |
+----------------------------------------------------------------------+
ilyash-b commented 2 years ago

In dev