Skip to content

default

default #60

Triggered via repository dispatch January 11, 2024 19:35
@AxelHumeauAxelHumeau
default 785f990
Status Failure
Total duration 5m 26s
Artifacts

Tests.yml

on: repository_dispatch
Fit to window
Zoom out
Zoom in

Annotations

1 error and 24 warnings
check_style
HLint failed with status: 1. Warning (7), Suggestion (3)
check_style: LobsterLang/src/Parse.hs#L49
Suggestion in Parser in module Parse: Use newtype instead of data ▫︎ Found: "data Parser a\n = Parser {runParser :: Position\n -> String -> Either String (a, String, Position)}" ▫︎ Perhaps: "newtype Parser a\n = Parser {runParser :: Position\n -> String -> Either String (a, String, Position)}" ▫︎ Note: decreases laziness
check_style: LobsterLang/src/Parse.hs#L200
Warning in parseElem in module Parse: Use const ▫︎ Found: "\\ x _ -> x" ▫︎ Perhaps: "const"
check_style: LobsterLang/src/Vm.hs#L36
Warning in module Vm: Redundant bracket ▫︎ Found: "(0)" ▫︎ Perhaps: "0"
check_style: LobsterLang/src/Vm.hs#L46
Warning in module Vm: Redundant bracket ▫︎ Found: "(0)" ▫︎ Perhaps: "0"
check_style: LobsterLang/src/Vm.hs#L56
Warning in module Vm: Redundant bracket ▫︎ Found: "(0)" ▫︎ Perhaps: "0"
check_style: LobsterLang/src/Vm.hs#L60
Warning in module Vm: Redundant bracket ▫︎ Found: "(0)" ▫︎ Perhaps: "0"
check_style: LobsterLang/src/Vm.hs#L64
Warning in module Vm: Redundant bracket ▫︎ Found: "(0)" ▫︎ Perhaps: "0"
check_style: LobsterLang/src/Vm.hs#L77
Warning in module Vm: Redundant bracket ▫︎ Found: "(0)" ▫︎ Perhaps: "0"
check_style: LobsterLang/src/Vm.hs#L209
Suggestion in exec in module Vm: Redundant bracket ▫︎ Found: "(head stack) == BoolVal True" ▫︎ Perhaps: "head stack == BoolVal True"
check_style: LobsterLang/src/Vm.hs#L217
Suggestion in exec in module Vm: Redundant bracket ▫︎ Found: "(head stack) == BoolVal False" ▫︎ Perhaps: "head stack == BoolVal False"
check_compilation: LobsterLang/src/Compiler.hs#L127
Pattern match(es) are non-exhaustive
check_compilation: LobsterLang/src/Parse.hs#L43
The import of ‘GHC.IO.SubSystem’ is redundant
check_compilation: LobsterLang/src/Parse.hs#L45
Defined but not used: type constructor or class ‘Col’
check_compilation: LobsterLang/src/Parse.hs#L46
Defined but not used: type constructor or class ‘Row’
check_compilation: LobsterLang/src/Parse.hs#L66
• No explicit implementation for
run_tests: LobsterLang/src/Compiler.hs#L127
Pattern match(es) are non-exhaustive
run_tests: LobsterLang/src/Parse.hs#L43
The import of ‘GHC.IO.SubSystem’ is redundant
run_tests: LobsterLang/src/Parse.hs#L45
Defined but not used: type constructor or class ‘Col’
run_tests: LobsterLang/src/Parse.hs#L46
Defined but not used: type constructor or class ‘Row’
run_tests: LobsterLang/src/Parse.hs#L66
• No explicit implementation for
run_tests: LobsterLang/test/AstEvalSpec.hs#L1
The export item ‘module AstEvalSpec’ is missing an export list
run_tests: LobsterLang/test/AstOptimizerSpec.hs#L1
The export item ‘module AstOptimizerSpec’ is missing an export list
run_tests: LobsterLang/test/CompilerSpec.hs#L1
The export item ‘module CompilerSpec’ is missing an export list
run_tests: LobsterLang/test/VmSpec.hs#L1
The export item ‘module VmSpec’ is missing an export list