We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.

The latest version of the book is P4.0, released 6 months ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

Key: Typo Tech. Error Suggestion Not a problem Next edition

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:  

(To find out what version you have, look at the copyright page, a few pages in from the front of the book. If it says (say) 'Second Printing', then here it'll be P2.0. If there are interim PDF releases in that printing, they'll be 2.1, 2.2, and so on.)

PDF Paper Description Found in Fixed in
19
#76422: Starting here, but throughout the rest of the book, query() should probably be replaced with querySelector() (see groups.google.com/a/dartlang...more...
Chris Strom says: Added a note in the book that query is not really deprecated. For more info see: http://japhr.blogspot.com/2014/05/query-is-not-deprecated-in-dart.html
P4.0
16-Feb-14
39
#76336: Hello! I found issue in the code on Github first, but now I found it in the book. Please, check my PR for fixes github[dot]com/eee-c/dart-comi...more...
P4.0
26-Jan-14
46
#76332: In the Hipster Collections section 6.2 you define the collection with the two stream controllers _onLoad and _onAdd and the models list and th...more...
Chris Strom says: Tsk. That was part of the conversion from Dart pre-1.0 to 1.0/1.1. I really thought I had caught all of those, but I do seem to have missed some in this chapter. Thanks for the catch -- will fix shortly.... Maybe not “shortly,” but this is fixed in source. Chapter 6 has been mostly rewritten to avoid this trouble.
P4.0
25-Jan-14
47
#76423: The discussion under DOM Ready confused me a little because I just used dart2js to make some JavaScript and through it in a normal script tag....more...
Chris Strom says: I really didn't want to do this previously, but your suggestion spurred a nicer transition into the next chapter (Compiling to JavaScript). So, much thanks!
P4.0
16-Feb-14
57

#76836: Need to remove event mentions from chapter 7. They are no longer used in chapter 6.--Chris Strom

P4.0
04-Jun-14
59
#76424: The first two paragraphs after the first code example, that begin, "We cheat in our implementation of the forEach() method…" don't seem to hav...more...
Chris Strom says: Yup, that's either old text referring to new code or new text referring to old code. Either way it's a mess. But fixed now.
P4.0
16-Feb-14
63

#76425: The lead up to the save() code talks about how the code needs to POST on create, but PUT on update. Then the method hardcodes a POST. Oops.--James Edward Gray II

Chris Strom says: Wow. Good catch. I must have read this section a dozen times and never noticed that...
P4.0
16-Feb-14
64

#76426: The event description at the top of this page doesn't match the actual code (on the previous page).--James Edward Gray II

Chris Strom says: Yup, this is fixed in book source now.
P4.0
16-Feb-14
78

#76427: The text above the first code example and the actual code disagree about which interface is implemented.--James Edward Gray II

P4.0
16-Feb-14
84

#76337: Need to be consistent with IterableBase and Collection. See forums.pragprog.com/forums/254/topics/12488.--Chris Strom

Chris Strom says: I have fixed this in the source, but am leaning open for the time being to double-check that IterableBase is sufficiently explained.
P4.0
26-Jan-14
91

#76333: The first sentence has the last 2 words transposed. It reads: "JavaScript has been around for years eighteen."--Josh Huckabee

P4.0
25-Jan-14
93

#76428: The `extends IterableBase`/`implements Collection` confusion is back on this page.--James Edward Gray II

P4.0
16-Feb-14
94
#76429: This paragraph doesn't make sense: "Back in the HipsterCollection superclass, we declare modelMaker() as abstract (by omitting the method bod...more...
Chris Strom says: Yikes! Something when wrong back in p3.0 and no one caught it until this :-\ Fixed in source.
P4.0
16-Feb-14
95
#76334: Section 10.4 Packaging with "pub", second sentence states: "As we saw in Chapter 12, Testing Dart, on page 111, it is capable of resolving and...more...
Chris Strom says: Dang. Hazards of working with the book in parts, I suppose. The testing chapter installed stuff via pub, including resolving some dependencies. Had it come first in the book, that would have made more sense. But really, there is no need for the cross-reference, so I've simply removed it. Thanks!
P4.0
25-Jan-14
115
#76430: I think this sentence is in need of a verb, "It is worth pointing out that, because of how Dart manages libraries, setting HipsterSync.sync in...more...
Chris Strom says: Bah. I tried stretching a sentence across multiple code examples. I stopped doing that now. Fixed in source.
P4.0
16-Feb-14
130

#76431: I think the second code block should use handleException() instead of catchError(). (If not, the text above is wrong.)--James Edward Gray II

Chris Strom says: The text above was wrong. It should be catchError: https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart-async.Future#id_catchError I grep'd through the rest of the text / code and all handleException references are now gone.
P4.0
17-Feb-14