Feature/compilo vm #106
Annotations
1 error and 10 warnings
Run HLint
HLint failed with status: 1. Warning (10), Suggestion (23)
|
Run HLint:
LobsterLang/src/CompiletoVm.hs#L32
Warning in convert in module CompiletoVm: Redundant bracket ▫︎ Found: "(inst)" ▫︎ Perhaps: "inst"
|
Run HLint:
LobsterLang/src/CompiletoVm.hs#L49
Suggestion in convert in module CompiletoVm: Use record patterns ▫︎ Found: "Compiler.Def _ _ _" ▫︎ Perhaps: "Compiler.Def {}"
|
Run HLint:
LobsterLang/src/CompiletoVm.hs#L107
Warning in convert in module CompiletoVm: Redundant bracket ▫︎ Found: "(inst)" ▫︎ Perhaps: "inst"
|
Run HLint:
LobsterLang/src/CompiletoVm.hs#L110
Suggestion in convert in module CompiletoVm: Redundant bracket ▫︎ Found: "(fst (getList (fromIntegral (lenList :: Int32) :: Int) remfile []))\n ++ [(Vm.PushList (fromIntegral (lenList :: Int32) :: Int))]" ▫︎ Perhaps: "fst (getList (fromIntegral (lenList :: Int32) :: Int) remfile [])\n ++ [(Vm.PushList (fromIntegral (lenList :: Int32) :: Int))]"
|
Run HLint:
LobsterLang/src/CompiletoVm.hs#L110
Suggestion in convert in module CompiletoVm: Redundant bracket ▫︎ Found: "[(Vm.PushList (fromIntegral (lenList :: Int32) :: Int))]" ▫︎ Perhaps: "[Vm.PushList (fromIntegral (lenList :: Int32) :: Int)]"
|
Run HLint:
LobsterLang/src/CompiletoVm.hs#L111
Warning in convert in module CompiletoVm: Redundant bracket ▫︎ Found: "(inst)" ▫︎ Perhaps: "inst"
|
Run HLint:
LobsterLang/src/CompiletoVm.hs#L129
Suggestion in getDefinedValue in module CompiletoVm: Redundant bracket ▫︎ Found: "[(Vm.Push (IntVal (fromIntegral (val :: Int32) :: Int)))]" ▫︎ Perhaps: "[Vm.Push (IntVal (fromIntegral (val :: Int32) :: Int))]"
|
Run HLint:
LobsterLang/src/CompiletoVm.hs#L143
Suggestion in getDefinedValue in module CompiletoVm: Redundant bracket ▫︎ Found: "(fst (getList (fromIntegral (lenList :: Int32) :: Int) remfile []))\n ++ [Vm.PushList (fromIntegral (lenList :: Int32) :: Int)]" ▫︎ Perhaps: "fst (getList (fromIntegral (lenList :: Int32) :: Int) remfile [])\n ++ [Vm.PushList (fromIntegral (lenList :: Int32) :: Int)]"
|
Run HLint:
LobsterLang/src/CompiletoVm.hs#L170
Suggestion in getList in module CompiletoVm: Redundant bracket ▫︎ Found: "[(Vm.Push (IntVal (fromIntegral (val :: Int32) :: Int)))]" ▫︎ Perhaps: "[Vm.Push (IntVal (fromIntegral (val :: Int32) :: Int))]"
|
Run HLint:
LobsterLang/src/CompiletoVm.hs#L184
Suggestion in getList in module CompiletoVm: Redundant bracket ▫︎ Found: "(fst (getList (fromIntegral (lenList :: Int32) :: Int) remfile []))\n ++ [Vm.PushList (fromIntegral (lenList :: Int32) :: Int)]" ▫︎ Perhaps: "fst (getList (fromIntegral (lenList :: Int32) :: Int) remfile [])\n ++ [Vm.PushList (fromIntegral (lenList :: Int32) :: Int)]"
|
The logs for this run have expired and are no longer available.
Loading