fix some checked mode exceptions
more checked mode fixes
Merge pull request #829 from dart-lang/devoncarew_checked_mode

fix some checked mode exceptions