Ticket #82 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Unimplemented: Imported classes can't be used as annotations

Reported by: lth Assigned to: jeffdyer
Type: defect Priority: major
Milestone: M1 Component: RefImpl
Version: 4 Keywords:
Cc: graydon,jeffdyer

Description

Consider this program:

1   package P {
2       public class C {
3           public var x = 10;
4       }
5   }
6
7   package {
8       import P.*;
9       public var c : P.C = new P.C;
A   }

The type annotation on line 9 causes an UnimplError? to be reported: "UnresolvedPath? P".

Attachments

Change History

Changed 2 years ago by jeffdyer

  • owner set to jeffdyer

Changed 2 years ago by jeffdyer

  • status changed from new to closed
  • resolution set to fixed

fixed by 5dbb4c39154265df1d3997456039c35ffc5e63ac

Note: See TracTickets for help on using tickets.