Posted to tcl by aspect at Mon Nov 09 05:35:42 GMT 2015view raw
- oo::class create meta {
- superclass ::oo::class
- self class meta
- }
- puts "meta create: [info object call meta create]"
- # meta create: {method create ::oo::class {core method: "create"}}
- meta create foo {
- puts lalalala
- }
- # lalalala
- puts "foo create: [info object call foo create]"
- # foo create: {method create ::oo::class {core method: "create"}}
- foo create bar {
- puts lololo
- error error
- }
- # ??!!?? nothing ??!!??
- puts "done"
- # done