2017-10-10 14:50:47 +03:00
|
|
|
;; This file contains examples of unsolved bugs
|
2017-10-12 15:35:28 +03:00
|
|
|
|
2017-11-24 12:01:57 +03:00
|
|
|
;;; Ranges of non-numbers (bug)
|
|
|
|
;;(defn main [] (IO.println &(Array.str &(Array.range @"hej" @"svej" @"a"))))
|
2017-12-12 14:57:13 +03:00
|
|
|
|
|
|
|
(project-set! "printAST" "true")
|
|
|
|
|
|
|
|
|
2017-12-14 00:29:43 +03:00
|
|
|
;; 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.
|