We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 795fbcb commit 9d615c7Copy full SHA for 9d615c7
compiler/src/Nitpick/Debug.hs
@@ -5,6 +5,7 @@ where
5
6
import AST.Optimized qualified as Opt
7
import Data.Map.Utils qualified as Map
8
+import Data.Maybe qualified as Maybe
9
10
-- HAS DEBUG USES
11
@@ -26,6 +27,7 @@ nodeHasDebug node =
26
27
Opt.Kernel _ _ -> False
28
Opt.PortIncoming expr _ -> hasDebug expr
29
Opt.PortOutgoing expr _ -> hasDebug expr
30
+ Opt.PortTask maybeExpr expr _ -> hasDebug expr || Maybe.maybe False hasDebug maybeExpr
31
32
hasDebug :: Opt.Expr -> Bool
33
hasDebug expression =
0 commit comments