/home/runner/Engine/evaluate.nim: 144:28 Error: t ype mismatch: got but expected one of: proc `[]`(s: string; i: BackwardsIndex): char first type mismatch at position: 0 proc `[]`(s: var string; i: BackwardsIndex): var char first type mismatch at position: 0 proc `[]`[A, B](t: OrderedTableRef [A, B]; key: A ): var B first type mismatch at position: 0 proc [][A, B](t: OrderedTable[A, B]; key: A): B first type mismatch at position: 0 proc `[]`[A, B](t: TableRef[A, B]; key: A): var B first type mismatch at position: 0 proc `[][A, B](t: Table[A, B]; key: A): B first type mismatch at position: 0 proc []`[A, B](t: var OrderedTable[A, B]; key: A): var B first type mismatch at position: 0 proc `[]`[A, B](t: var Table[A, B]; key: A): var B first type mismatch at position: 0 proc [`[A](t: CountTableRef [A]; key: A): int first type mismatch at position: 0 proc [`[A](t: CountTable[A]; key: A): int first type mismatch at position: 0 proc [`[I: Ordinal; T](a: T; i: I): T first type mismatch at position: 0 proc `[]`[Idx, T; U, V: Ordinal](a: array[Idx, T ]; x: HSlice[U, V]): seq[T] first type mismatch at position: 0 proc `[]`[Idx, T](a: array[Idx, T]; i: Backwards Index): T first type mismatch at position: 0 proc `[]`[Idx, T](a: var array[Idx, T]; i: Backw ardsIndex): var T first type mismatch at position: 0 proc [`[K](o: PyObject; idx: K): PyObject first type mismatch at position: 0 proc `[]`[T, U: Ordinal](s: string; x: HSlice[T, U]): string first type mismatch at position: 0  first type mismatch at position: 0 proc `[]`[K](o: PyObject; idx: K): PyObject first type mismatch at position: 0 proc `[]`[T, U: Ordinal](s: string; x: HSlice[T, U]): string first type mismatch at position: 0 proc `[]`[T; U, V: Ordinal](s: openArray[T]; x: HSlice[U, V]): seq[T] first type mismatch at position: 0 proc `[]`[T](s: openArray[T]; i: BackwardsIndex) : T first type mismatch at position: 0 proc `[]`[T](s: var openArray[T]; i: BackwardsIn dex): var T first type mismatch at position: 0 template `[]`(s: string; i: int): char first type mismatch at position: 0 expression: `[]`(pieceValue, to(getAttr(dest, "p iece_type"), int))