Closed yawaramin closed 2 years ago
This happened in 2ba24b0a when I added the fetch bindings. They were @send
before, not @get
, I don’t know what I was thinking.
In theory the record fields could be defined as functions, but in my experience calling a record function always generates a Curry call at runtime. So I agree the type should revert to abstract.
Released as 0.5.0
It is currently defined as:
Notice that
keys()
,values()
, andentries()
are nullary methods, not getters. Exposing record fields likekeys: Webapi__Iterator.t<string>
is incorrect because those are not the correct types. This type should be reverted back to an abstract type.Relates to #2