trace functions #622
Annotations
1 error and 1 warning
HLint
HLint failed with status: 1. Warning (1)
|
HLint:
src/swarm-engine/Swarm/Game/Step.hs#L554
Warning in stepCESK in module Swarm.Game.Step: Use when ▫︎ Found: "if any (`T.isInfixOf` prettyText t) functionsOfInterest then\n do r <- get @Robot\n let xs = r ^. robotDebug . evalBuffer\n robotDebug @ConcreteRobot . currentFunction\n .= Just (T.unlines $ toList $ RB.getValues xs)\nelse\n return ()" ▫︎ Perhaps: "when (any (`T.isInfixOf` prettyText t) functionsOfInterest)\n $ do r <- get @Robot\n let xs = r ^. robotDebug . evalBuffer\n robotDebug @ConcreteRobot . currentFunction\n .= Just (T.unlines $ toList $ RB.getValues xs)"
|