0

Does bs.as work with unicode strings?

[@bs.deriving jsConverter]

type filterable = [
  | `Material
  | [@bs.as {js|üüüüü|js}] `Umlaut
];

is giving me

Unused BuckleScript attribute: bs.as Some fatal warnings were triggered (1 occurrences)

wegry
  • 7,046
  • 6
  • 39
  • 59
  • 1
    Certainly doesn't seem like it! It's a common problem with BuckleScript that features you might expect to interact well together just fail horribly. You should make an issue on [the github repo](https://github.com/BuckleScript/bucklescript) – glennsl Nov 09 '18 at 10:57
  • 1
    @glennsl when things work though, it's pretty glorious. https://github.com/BuckleScript/bucklescript/issues/3142 – wegry Nov 09 '18 at 12:50

0 Answers0