Menu

#2 [current *] introspection does not fully honour ensemble methods

2.1.1
closed
ssoberni
2017-11-17
2017-06-11
ssoberni
No
nx::Class create A {
    :method "i s" args {
    next
    return [current isnextcall]-[current nextmethod]
    }
}

nx::Class create B  -superclasses A {
    :public method "i s" args {
    return [current isnextcall]-[current nextmethod]-[next]
    }
    :create b
}

? {b eval { : i s }} "0--0-"
? {b i s} "0--0-"; 

"isnextcall" does not signal the next dispatch in A, "nextmethod" does not report the next method handle.

Discussion

  • ssoberni

    ssoberni - 2017-08-09
    • Milestone: 2.1.0 --> 2.1.1
     
  • ssoberni

    ssoberni - 2017-11-17
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.