use resetLocalAttrs rather than resetAllAttrs

https://twitter.com/xeno_by/status/431787958635855872
https://github.com/scala/scala/pull/3485
Merge pull request #108 from pellucidanalytics/fix/resetLocalAttrs

use resetLocalAttrs rather than resetAllAttrs