kschiess / parslet

A small PEG based parser library. See the Hacking page in the Wiki as well.
kschiess.github.com/parslet
MIT License
809 stars 95 forks source link

Issue when binding 'y' in ruby 1.9.3 #62

Closed ghost closed 12 years ago

ghost commented 12 years ago

This isn't really a bug in Parslet, but this is where it manifested and I figured somebody else might run into it at some point. See: https://github.com/tenderlove/psych/issues/50. The fix from the Parslet side is to have Context extend BasicObject instead of BlankSlate, but BasicObject was only added in 1.9.3, so it'll break backwards compatibility if it's switched. It might be worth adding some sort of warning for people upgrading to 1.9.3.