user
06/25/2019, 9:30 AMhttps://pbs.twimg.com/media/D8sdPOCXoAAp9WD.pngโพ
Jonathan Mew
06/25/2019, 9:32 AM!ismarstran
06/25/2019, 9:35 AMDico
06/25/2019, 10:01 AMJonathan Mew
06/25/2019, 10:05 AMDico
06/25/2019, 10:06 AMmeow could be declared on Cat, in which case animal is smart casted to CatDico
06/25/2019, 10:08 AManimal is a Cat following the function's first statementJonathan Mew
06/25/2019, 10:14 AMif (animal !is Cat) ๐karelpeeters
06/25/2019, 10:20 AMJonathan Mew
06/25/2019, 10:22 AMif (animal !is Cat) return animal.meow()
Thank you for saving me from myself. I'll go get some more sleep now.karelpeeters
06/25/2019, 11:37 AMSiebelsTim
06/25/2019, 1:55 PM