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).

Change History (2)

comment:1 by Martin Sjölund, 14 years ago

The issue here is that builtin functions do not have classes, so the imports will fail because of that.

comment:2 by Martin Sjölund, 14 years ago

Fixed in r7355

Note: See TracTickets for help on using tickets.