Add type for this-language to fix test

(also add a type for `all-languages`)
This commit is contained in:
Asumu Takikawa 2013-09-03 21:04:32 -04:00
parent 2ac73eee39
commit 099ca6cab9

View File

@ -30,8 +30,13 @@
;; make-promise
[(make-template-identifier 'delay 'racket/private/promise)
(-poly (a) (-> (-> a) (-Promise a)))]
;; next three for string constants
[(make-template-identifier 'dynamic-string-constant 'string-constants/string-constant)
(-> -Symbol -String)]
[(make-template-identifier 'this-language 'string-constants/string-constant)
(-> -Symbol)]
[(make-template-identifier 'all-languages 'string-constants/string-constant)
(-> (-lst -Symbol))]
;; qq-append
[(make-template-identifier 'qq-append 'racket/private/qq-and-or)
(-poly (a b)