reasonml-labs / decco

Bucklescript PPX which generates JSON (de)serializers for user-defined types

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fragile pattern warning 4

Coobaha opened this issue · comments

Using decco outputs this warning for every usage

It will remain exhaustive when constructors are added to type Js_json.tagged_t.
  
  Warning number 4
  (No file name)
  
  this pattern-matching is fragile.

@ryb73 #42 fixes it, could you please check it? :)

PS whole code base is not formatted with refmt, I can fix this too if needed