Skip to content

Commit

Permalink
Merge branch 'main' into feature/type-synonyms
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jun 1, 2024
2 parents a113461 + 4a6f413 commit 67b9774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swarm-scenario/Swarm/Game/Entity.hs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ data GrowthSpread = GrowthSpread
deriving (Eq, Ord, Show, Read, Generic, Hashable, ToJSON)

instance FromJSON GrowthSpread where
parseJSON = withObject "Growth" $ \v -> do
parseJSON = withObject "GrowthSpread" $ \v -> do
spreadRadius <- v .: "radius"
spreadDensity <- v .: "density"
pure GrowthSpread {..}
Expand Down

0 comments on commit 67b9774

Please sign in to comment.