Ah, thank you! My mistake indeed, I've removed the extra Dot declaration from the post. It compiles as written on my machine. The lower of those two declarations, with all five members, is correct.
The GitHub repo represents the code snippet at the end of this post, and does extend the Defensive Refactor snippet in a few ways. The final dependency list should look like this:
Ah, thank you! My mistake indeed, I've removed the extra
Dotdeclaration from the post. It compiles as written on my machine. The lower of those two declarations, with all five members, is correct.The GitHub repo represents the code snippet at the end of this post, and does extend the Defensive Refactor snippet in a few ways. The final dependency list should look like this:
Everything other than
nannouis added one by one throughout the post.