More State pattern refactor; PlayerMap; More Eff integration #2 #19
Annotations
10 errors and 22 warnings
build:
test/CombatTest.hs#L67
Constructor ‘CombatState’ does not have field ‘attacker’
|
build:
test/CombatTest.hs#L68
Constructor ‘CombatState’ does not have field ‘one’
|
build:
test/CombatTest.hs#L68
Constructor ‘FighterState’ does not have field ‘nextAttackIndex’
|
build:
test/CombatTest.hs#L68
Constructor ‘FighterState’ does not have field ‘playerState’
|
build:
test/CombatTest.hs#L69
Constructor ‘CombatState’ does not have field ‘two’
|
build:
test/CombatTest.hs#L69
Constructor ‘FighterState’ does not have field ‘nextAttackIndex’
|
build:
test/CombatTest.hs#L69
Constructor ‘FighterState’ does not have field ‘playerState’
|
build:
test/CombatTest.hs#L70
Constructor ‘CombatState’ does not have field ‘config’
|
build:
test/CombatTest.hs#L70
Constructor ‘Config’ does not have field ‘maxBoardSize’
|
build:
test/CombatTest.hs#L70
Constructor ‘Config’ does not have field ‘maxHandSize’
|
build
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build:
src/Effect.hs#L35
Defined but not used: ‘testRandomEffect’
|
build:
src/View.hs#L7
The import of ‘foldrWithKey’ from module ‘Data.Map’ is redundant
|
build:
src/View.hs#L8
The import of ‘Debug.Trace’ is redundant
|
build:
src/Logic.hs#L10
The import of ‘<&>, At, at’ from module ‘Control.Lens’ is redundant
|
build:
src/Logic.hs#L13
The import of ‘toList’ from module ‘Data.Map’ is redundant
|
build:
src/Logic.hs#L77
This binding for ‘gen’ shadows the existing binding
|
build:
src/Logic.hs#L83
This binding for ‘id’ shadows the existing bindings
|
build:
src/Combat.hs#L1
The export item ‘module Combat’ is missing an export list
|
build:
src/Combat.hs#L11
The import of ‘Debug.Trace’ is redundant
|
build:
src/Combat.hs#L19
This binding for ‘hp’ shadows the existing binding
|
build:
src/Effect.hs#L35
Defined but not used: ‘testRandomEffect’
|
build:
src/View.hs#L7
The import of ‘foldrWithKey’ from module ‘Data.Map’ is redundant
|
build:
src/View.hs#L8
The import of ‘Debug.Trace’ is redundant
|
build:
src/Logic.hs#L10
The import of ‘<&>, At, at’ from module ‘Control.Lens’ is redundant
|
build:
src/Logic.hs#L13
The import of ‘toList’ from module ‘Data.Map’ is redundant
|
build:
src/Logic.hs#L77
This binding for ‘gen’ shadows the existing binding
|
build:
src/Logic.hs#L83
This binding for ‘id’ shadows the existing bindings
|
build:
src/Combat.hs#L1
The export item ‘module Combat’ is missing an export list
|
build:
src/Combat.hs#L11
The import of ‘Debug.Trace’ is redundant
|
build:
src/Combat.hs#L19
This binding for ‘hp’ shadows the existing binding
|