core: fix type of Char.zero

This commit is contained in:
hellerve 2020-01-29 11:48:31 +01:00
parent 1cc751afbb
commit 07a21d76b5

View File

@ -44,8 +44,7 @@
(defn alphanum? [c]
(or (alpha? c) (num? c)))
(defn zero []
(from-int 0))
(defn zero [] (the Char (from-int 0)))
)
(defmodule CharRef