From 34b590e3adc6c0a16d6f22242eeeb228017c1e8a Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Wed, 6 Jan 2021 13:45:24 +0100 Subject: Fixed workspace: A function is called, so must be 'Get_Date_State'. --- pyGHDL/lsp/workspace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyGHDL/lsp/workspace.py b/pyGHDL/lsp/workspace.py index 19cdc5309..8c60edab9 100644 --- a/pyGHDL/lsp/workspace.py +++ b/pyGHDL/lsp/workspace.py @@ -295,7 +295,7 @@ class Workspace(object): ) # Recurse self.obsolete_dependent_units(un, antideps) - if nodes.Set_Date_State(un) == nodes.Date_State.Disk: + if nodes.Get_Date_State(un) == nodes.Date_State.Disk: # Already obsolete! continue # FIXME: just de-analyze ? -- cgit v1.2.3