and then running clj -M:cljd flutter, I get a Dart compiler error:
lib/cljd-out/acme/main.dart:235:45: Error: The argument type 'int' can't be assigned to the parameter type 'V'. final dc.List<V> fl$5=(dc.List<V>.filled(1, counter, ));
The problem persists after clj -M:cljd clean && flutter clean.
To Reproduce
Steps to reproduce the behavior:
Use the project setup described in the ClojureDart README (I got the problem on the latest main, commit f2709454569ca0bc7f666f475fb09293fbb1eb31)
add the line
(defrecord Model [^int counter])
anywhere in src/acme/main.cljd.
run clj -M:cljd flutter
Expected behavior
No compiler errors.
Additional context
I'm trying to use the Elm Architecture in flutter with dartea.
Also thank you all very much for making ClojureDart!
Describe the bug When I try writing the code
and then running
clj -M:cljd flutter
, I get a Dart compiler error:lib/cljd-out/acme/main.dart:235:45: Error: The argument type 'int' can't be assigned to the parameter type 'V'. final dc.List<V> fl$5=(dc.List<V>.filled(1, counter, ));
The problem persists after
clj -M:cljd clean && flutter clean
.To Reproduce Steps to reproduce the behavior:
Use the project setup described in the ClojureDart README (I got the problem on the latest main, commit f2709454569ca0bc7f666f475fb09293fbb1eb31)
add the line
anywhere in src/acme/main.cljd.
run
clj -M:cljd flutter
Expected behavior No compiler errors.
Additional context I'm trying to use the Elm Architecture in flutter with dartea.
Also thank you all very much for making ClojureDart!