-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
I'm getting the following error many times when using jurigged.
Unfortunately it's hard to repro.
this is for an innocuous code change (eg print("v2") instead of prinv("v1"))
Traceback (most recent call last):
File "/pathto/jurigged/src/jurigged/live.py", line 135, in _refresh
File "/pathto/jurigged/src/jurigged/live.py", line 135, in _refresh
self.watcher.refresh(self.filename)
File "/pathto/jurigged/src/jurigged/live.py", line 108, in refresh
self.watcher.refresh(self.filename)
File "/pathto/jurigged/src/jurigged/live.py", line 108, in refresh
cf = self.registry.get(path)
^^^^^^^^^^^^^^^^^^^^^^^
File "/pathto/jurigged/src/jurigged/register.py", line 76, in get
cf = self.registry.get(path)
^^^^^^^^^^^^^^^^^^^^^^^
File "/pathto/jurigged/src/jurigged/register.py", line 76, in get
cf = CodeFile(
^^^^^^^^^
File "/pathto/jurigged/src/jurigged/codetools.py", line 1083, in __init__
cf = CodeFile(
^^^^^^^^^
File "/pathto/jurigged/src/jurigged/codetools.py", line 1083, in __init__
variables(tree, varinfo)
variables(tree, varinfo)
File "<ovld:32f0df4af60c4fb4>", line 4, in variables
File "<ovld:32f0df4af60c4fb4>", line 4, in variables
File "/pathto_miniconda/envs/tests11/lib/python3.11/site-packages/ovld/typemap.py", line 386, in __missing__
File "/pathto_miniconda/envs/tests11/lib/python3.11/site-packages/ovld/typemap.py", line 386, in __missing__
raise self.errors[obj_t_tup]
raise self.errors[obj_t_tup]
TypeError: Ambiguous resolution in <Ovld jurigged.parse.variables> for argument types [Module, dict]
Candidates are:
* variables[AST, *] (priority: 0, specificity: [1, 0])
* variables[AST, *] (priority: 0, specificity: [1, 0])
Note: you can use @ovld(priority=X) to give higher priority to an overload.TypeError: Ambiguous resolution in <Ovld jurigged.parse.variables> for argument types [Module, dict]
Candidates are:
* variables[AST, *] (priority: 0, specificity: [1, 0])
* variables[AST, *] (priority: 0, specificity: [1, 0])
Note: you can use @ovld(priority=X) to give higher priority to an overload.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels