Ticket #340 (new task)

Opened 6 months ago

Simple dotted methods on singleton objects are not compiling

Reported by: EricAllen Owned by: chf
Priority: critical Milestone:
Component: build Version:
Keywords: Cc:

Description

According to the compiler progress page, we should have dotted methods and singleton objects as of Compiled2. However, allthough NYI.Compiled5.g.fss compiles, it signals an error when run:

dhcp-uaus08-128-192:compiler_tests ericeallen$ fortress build NYI.Compiled5.g.fss dhcp-uaus08-128-192:compiler_tests ericeallen$ fortress run NYI.Compiled5.g Exception in thread "main" java.lang.IllegalAccessError?

at NYI.Compiled5.g.<clinit>(NYI/Compiled5/g)

Here is the source code for NYI.Compiled5.g.fss:

import CompilerSystem?.args export { Executable } object O

m():ℤ32 = 1

end run() = do

printlnZZ32 O.m()

end

Note: See TracTickets for help on using tickets.