diff options
| author | mryouse | 2022-07-01 02:59:39 +0000 |
|---|---|---|
| committer | mryouse | 2022-07-01 02:59:39 +0000 |
| commit | ed2a063a4388ef7e315f4d7b9e59405b9aad71e4 (patch) | |
| tree | 5e2c9e808ccf5963e55598b5eb6e2903b126d08e /neb/std/core.py | |
| parent | bf8900200c25d383c883501446a8048ad8966d94 (diff) | |
Revert "initial commit of multi-type support (only list of strings for now)"
This reverts commit bf8900200c25d383c883501446a8048ad8966d94.
Diffstat (limited to 'neb/std/core.py')
| -rw-r--r-- | neb/std/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/neb/std/core.py b/neb/std/core.py index 750594e..1c3c4b4 100644 --- a/neb/std/core.py +++ b/neb/std/core.py @@ -47,7 +47,7 @@ CORE.register("redef", Builtin("redef", interpretRedef, [def_name_arg, def_val_a def interpretLambda(symbol, args, env, ns): new_args = args return_type = Type(":any") - if isinstance(args[0], Type) or isinstance(args[0], MultiType): + if isinstance(args[0], Type): return_type = args[0] new_args = args[1:] |
