【bug解决】TypeError: Data location must be "memory" for parameter in function, but none was given.
问题回顾:在编写完智能合约之后,通过命令行的形式编译智能合约时出现的问题。1.具体合约代码(错误写法):pragmasolidity>=0.4.21=0.4.21<0.7.0;contractSimple{stringname;uintage;//定义事件eventInstructor(stringname,uintage);functionset(stringmemory_name,uint_a