Opened 14 years ago
Last modified 14 years ago
#1356 closed defect (fixed)
Imports of top-level (builtin) classes do not work
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Version: | ||
Keywords: | Cc: | Martin Sjölund, |
Description
{{{class A
import x=floor;
Real r = x(1.5);
end A;}}}
This currently fails but should be allowed (the last ident of an import path does not need to be a package although the prefix of the path needs to be).
Note:
See TracTickets
for help on using tickets.
The issue here is that builtin functions do not have classes, so the imports will fail because of that.