Can't generate uri instances

Description

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 $ clj -Srepro -m cljs.main -re node -r ClojureScript 1.10.238 cljs.user=> (require '[clojure.spec.alpha :as s] 'clojure.test.check.generators) nil cljs.user=> (s/gen uri?) repl:13 throw e__6388__auto__; ^ Error: Unable to construct gen at: [] for: function cljs$core$uri_QMARK_(x){ return (x instanceof goog.Uri); } at cljs$spec$alpha$gensub (/private/var/folders/60/ndky5jxj3v3gw_7j1dwq7msw0000gn/T/out213819377331478911568682775483031/cljs/spec/alpha.js:995:8) at Function.cljs.spec.alpha.gen.cljs$core$IFn$_invoke$arity$2 (/private/var/folders/60/ndky5jxj3v3gw_7j1dwq7msw0000gn/T/out213819377331478911568682775483031/cljs/spec/alpha.js:1031:31) at cljs$spec$alpha$gen (/private/var/folders/60/ndky5jxj3v3gw_7j1dwq7msw0000gn/T/out213819377331478911568682775483031/cljs/spec/alpha.js:1017:28) at Function.cljs.spec.alpha.gen.cljs$core$IFn$_invoke$arity$1 (/private/var/folders/60/ndky5jxj3v3gw_7j1dwq7msw0000gn/T/out213819377331478911568682775483031/cljs/spec/alpha.js:1027:28) at cljs$spec$alpha$gen (/private/var/folders/60/ndky5jxj3v3gw_7j1dwq7msw0000gn/T/out213819377331478911568682775483031/cljs/spec/alpha.js:1013:28) at repl:1:99 at repl:9:3 at repl:14:4 at Script.runInThisContext (vm.js:65:33) at Object.runInThisContext (vm.js:197:38)

Relevant:

Environment

{:deps {org.clojure/clojurescript {:mvn/version "1.10.238"}
org.clojure/test.check {:mvn/version "0.10.0-alpha2"}}}

Status

Assignee

David Nolen

Reporter

Mike Fikes

Labels

None

Approval

Accepted

Patch

Code and Test

Affects versions

1.10.238

Priority

Major
Configure