Describe the bug
When destructuring the headers of a http response the error appears:
Performing hot reload...
lib/cljd-out/acme/main.dart:39:19: Error: 'K' isn't a type.
late final dc.Map<K, V> map$8746_$2;
^
lib/cljd-out/acme/main.dart:39:22: Error: 'V' isn't a type.
late final dc.Map<K, V> map$8746_$2;
To Reproduce
Steps to reproduce the behavior:
- clone the repo 'https://github.com/ianffcs/response-header-destructuring-error-repro'
- clj -M:cljd init
- clj -M:cljd flutter
Expected behavior
It would be possible to println the access-control-allow-headers from the response when button clicked.
Describe the bug
When destructuring the headers of a http response the error appears:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It would be possible to println the
access-control-allow-headersfrom the response when button clicked.