basilisp-lang / basilisp

A Clojure-compatible(-ish) Lisp dialect targeting Python 3.9+
https://basilisp.readthedocs.io
Eclipse Public License 1.0
290 stars 8 forks source link

Unknown data readers in non-selected reader conditional paths can prevent reading #1118

Closed chrisrink10 closed 1 week ago

chrisrink10 commented 2 weeks ago

As reported in #1101, data readers which do not exist in non-selected reader conditional forms can prevent reading completely:

basilisp.user=> #?(:cljs #js [] :default [])

  exception: <class 'basilisp.lang.reader.SyntaxError'>
    message: No data reader found for tag #js
       line: 1:15