Closed zeramorphic closed 3 years ago
cc @Gankra you might want to take a look.
I'm also going to edit the file to be one sentence per line (#281) shortly.
Sorry, this is my first contribution here - not sure what I'm supposed to do now, but I've implemented all the changes you suggested.
This contribution outlines the semantics of the dot operator and how method lookup actually works, as well as two worked examples of how the method lookup algorithm's semantics differ from how we might intuitively understand the type checker to work.
Factual content from this contribution has been sourced mainly from the dev guide, after being introduced to the topic by this answer on StackOverflow.
Signed-off-by: thirdsgames thirdsgames2018@gmail.com