diff --git a/guppylang/decorator.py b/guppylang/decorator.py index cc96fda9..0e2b627f 100644 --- a/guppylang/decorator.py +++ b/guppylang/decorator.py @@ -470,6 +470,8 @@ class _GuppyDummy: builds to mock the decorator. """ + _sources = SourceMap() + def __call__(self, arg: PyFunc | GuppyModule) -> Any: if isinstance(arg, GuppyModule): return lambda f: f