game.bend fails
raw source on the hub · import minebender-game@1.0.0.0/game.bend as Game
4 imports
import Base import ./types.bend as T import ./board.bend as B import ./solver.bend as S
The reader could not load this file (at 0x581b7b5abb55b3363cb439c0fb72d761/types.bend:43). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Lost)
- observed : 'Lost'
Location:
42 | Won{}
43>| Lost{why: Loss}
| ^^^^
44 |