Ticket #14 (closed enhancement: wontfix)
":" operator and extended categories
| Reported by: | victor | Owned by: | pmoura |
|---|---|---|---|
| Priority: | minor | Milestone: | Logtalk enhancements |
| Component: | compiler | Version: | 2.31.4 |
| Keywords: | Cc: |
Description
Hello,
I am wondering if it is normal that the operator ":" is working for imported categories (in object) but not in categories extending categories declaring the predicate called with ":".
A little example :
:- category(one). pred. :- end_category. :- category(two, extends(one)). mypred :- :pred. :- end_category.
The error I get is :
ERROR! existence_error(procedure, pred)
in clause: mypred:- :pred
above line: 7
Maybe there is a good explanation, but I don't see why it shouldn't be a good idea.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
