fix an issue with the code generation

fix an issue with our code generation:

https://github.com/dart-gde/chrome.dart/issues/205

@eukreign, the culprit was here. Thanks for the report!