-
Notifications
You must be signed in to change notification settings - Fork 20
Don't generate dead code #215
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestpriority:mediumto do, not blocking usersto do, not blocking usersr2c usernot originally reported by an external usernot originally reported by an external user
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpriority:mediumto do, not blocking usersto do, not blocking usersr2c usernot originally reported by an external usernot originally reported by an external user
This is a follow-up to #210. We now extract fewer rules for
token()constructs, but it looks like the generated filesBoilerplate.mlandCST.mlstill contain code for those as if they had been extracted and given a rule name. I'll look into this. It would be best to not generate code that's not used. OCaml can report it depending on the flags passed to the compiler; that's how I noticed but too late.