Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Ivan Belmonte2,073 Points
Potential bug found
I think the init declaration on the Vehicle class is buggy. It expects the argumets "withDoors" and "withWheels" instead of the Vehicle attributes "numberOfDoors" and "numberOfWheels". My code couldn't be compiled until I changed this line to match the object attribute names.
Best regards, Ivan
Aurelian Spodarec10,801 Points
Don't worry! Every person, or most, that's new and can't solve a challenge, usually write here on potentially finding a bug :D