Skip to content

Commit

Permalink
fix dlang module
Browse files Browse the repository at this point in the history
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 committed Jun 5, 2023
1 parent 747381f commit 4bb6411
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 @@ -38,8 +38,8 @@ def __init__(self, interpreter):
})

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

0 comments on commit 4bb6411

Please sign in to comment.