Skip to main content

New site for Dart news and articles

For the latest Dart news, visit our new blog at  https://medium.com/dartlang .

Dart Team's Weekly Digest

Posted by Anders Sandholm

In the Dart to JavaScript Compiler we improved generated code for simple bailout functions, enabled speculative optimizations in methods called from loops and added support for discovering when fields are effectively final, but not marked as such. We also removed unnecessary braces from generated code, fixed a few browser compatibility issues (http://dartbug.com/3152 and others) and fixed some issues with isolates.

Dartium can now pause on exceptions, including checked mode.

In the Dart Editor we fixed 29+ issues in the static analyzer, added new syntax coloring to highlight the use of var variables, and to distinguish member and static fields from local variables (aka semantic highlighting). We added new syntax coloring to show other uses of the currently selected variable (aka mark occurrences), added support for the "as" operator, added a warning if the + operator is used with strings. Finally, when debugging a command-line app, the debugger will break on uncaught exceptions (TypeError and AssertionError). More to follow on the debugging story.