dlang语言最新dmd2103版本以下代码编译出错提示Error type Object is not an expression代码让如下class Person string name; int age; thisstring name int age thisname = name; thisage = age; over
应该将第14行代码修改为if (!is(o, Person)) return false;
原文地址: https://www.cveoy.top/t/topic/fjfl 著作权归作者所有。请勿转载和采集!