Skip to content

Refactor the code

Refactor the code #139

Triggered via push December 7, 2023 11:30
Status Success
Total duration 11m 33s
Artifacts

build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build (8.10.7, 3.6, ubuntu-20.04): test/Unit/TypeInference/TypeInferenceTest.hs#L76
Suggestion in test3, test10 in module Unit.TypeInference.TypeInferenceTest: Reduce duplication ▫︎ Found: "let expected = \"int\"\nlet actual = eval $ parseProgram \"let x = 1\"\nexpected @=? actual\n" ▫︎ Perhaps: "Combine with test/Unit/TypeInference/TypeInferenceTest.hs:146:7-26"
build (8.10.7, 3.6, ubuntu-20.04): lib/StdLib.hs#L72
Defined but not used: data constructor ‘And’
build (8.10.7, 3.6, ubuntu-20.04): lib/StdLib.hs#L73
Defined but not used: data constructor ‘Or’
build (8.10.7, 3.6, ubuntu-20.04): lib/StdLib.hs#L74
Defined but not used: data constructor ‘Not’
build (8.10.7, 3.6, ubuntu-20.04): lib/StdLib.hs#L75
Defined but not used: data constructor ‘UnMinus’
build (8.10.7, 3.6, ubuntu-20.04): lib/StdLib.hs#L76
Defined but not used: data constructor ‘Plus’
build (8.10.7, 3.6, ubuntu-20.04): lib/StdLib.hs#L77
Defined but not used: data constructor ‘Minus’
build (8.10.7, 3.6, ubuntu-20.04): lib/StdLib.hs#L78
Defined but not used: data constructor ‘Mul’
build (8.10.7, 3.6, ubuntu-20.04): lib/StdLib.hs#L79
Defined but not used: data constructor ‘Div’
build (8.10.7, 3.6, ubuntu-20.04): lib/StdLib.hs#L80
Defined but not used: data constructor ‘Eq’
build (8.10.7, 3.6, ubuntu-20.04): lib/StdLib.hs#L81
Defined but not used: data constructor ‘Ne’