- status: open --> open-fixed
FIXED
At
http://www.eros-os.org/pipermail/e-lang/2004-April/009753.html
:
1. Doc-comments for objects are not returned in the
alleged type.
2. help() does not print the object doc-comment.
? /** foo */ def x {}
# value: <x>
? x.__getAllegedType().getDocComment()
# value: " Missing docComment"
? /** foo */ def y() :void {}
# value: <y>
? y.__getAllegedType().getDocComment()
# value: " Missing docComment"
? help(y)
<output not including "foo" or " Missing docComment">
Followups
Comment Date By
To reduce cases, while fixing this, I also "fixed" help
so that it prints using the interface declaration
syntax, rather than its own.
? /** foo */ def x {}
# value: <x>
? x.__getAllegedType().getDocComment()
# value: " foo "
? /** foo */ def y() :void {}
# value: <y>
? y.__getAllegedType().getDocComment()
# value: " foo "
? help(y)
# value: an org.erights.e.elang.evm.EImplByProxy
# /**
# * foo
# */
# interface "__main$y__C" {
#
# /**
# * Invoke as a function
# */
# to run() :any
# }
#
2004-Jul-03 22:20 markm