Skip to content

Commit

Permalink
modules/dlang: Use the DubDependency.class_dubbin correctly
Browse files Browse the repository at this point in the history
Which was broken because of DubDependency.class_dubbin typing change.
Passed under radar because Dub tests were deactivated in the same PR.
  • Loading branch information
rtbo authored and thesamesam committed Aug 6, 2024
1 parent 63a1a96 commit a4d2986
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mesonbuild/modules/dlang.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def __init__(self, interpreter):
})

def _init_dub(self, state):
if DlangModule.class_dubbin is None:
self.dubbin = DubDependency.class_dubbin
if DlangModule.class_dubbin is None and DubDependency.class_dubbin is not None:
self.dubbin = DubDependency.class_dubbin[0]
DlangModule.class_dubbin = self.dubbin
else:
self.dubbin = DlangModule.class_dubbin
Expand Down

0 comments on commit a4d2986

Please sign in to comment.