kitsunyan / pakku

Pacman wrapper with AUR support
GNU General Public License v3.0
130 stars 8 forks source link

Build fails with "Error: undeclared identifier: 'SystemError'" #51

Closed TwoLeaves closed 4 years ago

TwoLeaves commented 4 years ago

Code no longer builds with Nim 1.0.2, complaining: "Error: undeclared identifier: 'SystemError'."

According to the changelog (https://github.com/nim-lang/Nim/blob/6e83746caabca00ab2b97a81bd732de4588996fe/changelog.md), SystemError is now CatchableError: "The exception hierarchy was slightly reworked, SystemError was renamed to CatchableError and is the new base class for any exception that is guaranteed to be catchable. This change should have minimal impact on most existing Nim code."

kitsunyan commented 4 years ago

Pakku should be compatible with Nim 1.0 right now. Alas, they deprecated their list comprehensions, so there are a lot of warnings during compilation, but I can't do anything with it right now.