The latest version of the book is B10.0, released 6 days ago. If you've bought a PDF of the book and would like to update it to this version (for free), visit your home page.
By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:
If you've found a new error, please submit it.
- Reported in: B9.0 (26-Apr-19)
PDF page: 193
In the ePub version of the book the line numbers printed are out of sync with the lines printed in the non-local return example. The line 5 reference is therefore confusing. In the PDF the line number reference is correct.
A screenshot is available if reproduction is hard or my description is poorly described.
Note: this happens on my iPad. When using the default font size the line number sync issue occurs on line 10. I was reading at two font sizes smaller. Then the issue occurs at line 5.
- Reported in: B10.0 (19-May-19)
PDF page: 234
Note : I use the epub version, and it is not possible here to give the epub version page number !! Very bad...
In Part 1.6 "Generics: Variance and Constraints on Parametric Types", p. 234 epub version, the paragraph about "Type Invariance" begins as follows :
"When a method receives an object of a class T, you may pass an object of any derived class of T. However, if a method receives a generic object of type T, for example, List<T>, then you may not pass an object of a derived type of T."
These sentences are very strange indeed. In the first sentence, I am not completely sure I can make sense out of of the phrase a "derived class of T". And in the second sentence, well, it seems "a generic object of type T" is never List<T>: the type of a List<T> object is not T but rather its type is ... List<T>. The whole cited text seems to me rather confusing...--Cassian Braconnier