Unverified Commit b2ddf2d7 authored by Silvan Mosberger's avatar Silvan Mosberger Committed by GitHub
Browse files

lib.collectModules: improve readability by replacing implication (#369792)

parents 0f880eb3 e51cc8a2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -364,7 +364,7 @@ let
        if class != null
        then
          m:
            if m._class != null -> m._class == class
            if m._class == null || m._class == class
            then m
            else
              throw "The module ${m._file or m.key} was imported into ${class} instead of ${m._class}."