diff --git a/collects/tests/typed-scheme/fail/sort.rkt b/collects/tests/typed-scheme/fail/sort.rkt new file mode 100644 index 00000000..0e61eaac --- /dev/null +++ b/collects/tests/typed-scheme/fail/sort.rkt @@ -0,0 +1,5 @@ +#; +(exn-pred exn:fail:syntax? #rx".*Cannot infer.*Please add more type annotations.*") +#lang typed/racket +(define ss '("one" "two" "three")) ; (Listof String) +(sort ss string