mirror of
https://github.com/carp-lang/Carp.git
synced 2024-10-12 04:58:18 +03:00
17 lines
539 B
Plaintext
17 lines
539 B
Plaintext
;; This file contains examples of unsolved bugs
|
|
|
|
;;; Ranges of non-numbers (bug)
|
|
;;(defn main [] (IO.println &(Array.str &(Array.range @"hej" @"svej" @"a"))))
|
|
|
|
(project-set! "printAST" "true")
|
|
|
|
|
|
;; When enabling more interfaces like
|
|
(definterface inc (Fn [a] a))
|
|
;; the following code doesn't figure out all the type variables:
|
|
(defn f [x] (=> x inc inc inc))
|
|
;; This code works though:
|
|
(defn f [x] (=> x inc inc))
|
|
;; which means that it's the concretizer that has run too few times.
|
|
;; Running it until nothing changes should be the fix.
|