juancarlospaco/nim-xdo

Breaks on latest Nim version

juancarlospaco opened this issue · 0 comments

Using Nim 0.19 complains about the pure Enum on Line 32 ?.

Possibly remove the Enum ?, use an string?.

$ nim doc xdo.nim

xdo.nim(32, 3) Error: invalid indentation
xdo.nim(32, 10) Warning: Number of spaces around '*' is not consistent [Spacing]
xdo.nim(32, 20) Error: expression expected, but found '='
xdo.nim(33, 5) Error: invalid indentation
xdo.nim(34, 5) Error: invalid indentation
xdo.nim(35, 5) Error: invalid indentation
xdo.nim(36, 5) Error: invalid indentation
xdo.nim(37, 5) Error: invalid indentation
xdo.nim(38, 5) Error: invalid indentation
xdo.nim(39, 5) Error: invalid indentation
xdo.nim(40, 5) Error: invalid indentation
xdo.nim(41, 5) Error: invalid indentation
xdo.nim(42, 5) Error: invalid indentation
xdo.nim(43, 5) Error: invalid indentation
xdo.nim(44, 5) Error: invalid indentation
xdo.nim(45, 5) Error: invalid indentation
xdo.nim(46, 5) Error: invalid indentation
xdo.nim(47, 5) Error: invalid indentation
xdo.nim(48, 5) Error: invalid indentation
xdo.nim(49, 5) Error: invalid indentation
xdo.nim(50, 5) Error: invalid indentation
xdo.nim(31, 1) Error: undeclared identifier: 'types'
xdo.nim(32, 3) Error: undeclared identifier: 'Actions'
???(0, 0) Error: in expression ' enum': identifier expected, but found ''
xdo.nim(32, 22) Error: attempting to call undeclared routine: '<Error>'
???(0, 0) Error: in expression ' enum': identifier expected, but found ''
xdo.nim(32, 22) Error: attempting to call undeclared routine: '<Error>'
xdo.nim(32, 22) Error: expression '' cannot be called
xdo.nim(32, 10) Error: expression 'Actions *' is of type 'int32' and has to be discarded
xdo.nim(33, 5) Error: 'close' cannot be assigned to
xdo.nim(34, 5) Error: 'kill' cannot be assigned to
xdo.nim(35, 5) Error: undeclared identifier: 'hide'
xdo.nim(35, 5) Error: 'hide' cannot be assigned to
xdo.nim(36, 5) Error: undeclared identifier: 'show'
xdo.nim(36, 5) Error: 'show' cannot be assigned to
xdo.nim(37, 5) Error: undeclared identifier: 'raize'
xdo.nim(37, 5) Error: 'raize' cannot be assigned to
xdo.nim(38, 5) Error: undeclared identifier: 'lower'
xdo.nim(38, 5) Error: 'lower' cannot be assigned to
xdo.nim(39, 5) Error: undeclared identifier: 'below'
xdo.nim(39, 5) Error: 'below' cannot be assigned to
xdo.nim(40, 5) Error: undeclared identifier: 'above'
xdo.nim(40, 5) Error: 'above' cannot be assigned to
xdo.nim(41, 5) Error: 'move' cannot be assigned to
xdo.nim(42, 5) Error: 'resize' cannot be assigned to
xdo.nim(43, 5) Error: undeclared identifier: 'activate'
xdo.nim(43, 5) Error: 'activate' cannot be assigned to
xdo.nim(44, 5) Error: undeclared identifier: 'id'
xdo.nim(44, 5) Error: 'id' cannot be assigned to
xdo.nim(45, 5) Error: undeclared identifier: 'pid'
xdo.nim(45, 5) Error: 'pid' cannot be assigned to
xdo.nim(46, 5) Error: undeclared identifier: 'key_press'
xdo.nim(46, 5) Error: 'key_press' cannot be assigned to
xdo.nim(47, 5) Error: undeclared identifier: 'key_release'
xdo.nim(47, 5) Error: 'key_release' cannot be assigned to
xdo.nim(48, 5) Error: undeclared identifier: 'button_press'
xdo.nim(48, 5) Error: 'button_press' cannot be assigned to
xdo.nim(49, 5) Error: undeclared identifier: 'button_release'
xdo.nim(49, 5) Error: 'button_release' cannot be assigned to
xdo.nim(50, 5) Error: undeclared identifier: 'pointer_motion'
xdo.nim(50, 5) Error: 'pointer_motion' cannot be assigned to

🐱