Ticket #46 (new defect)

Opened 2 years ago

Top-level array declaration does not work.

Reported by: sukyoungryu Owned by: dr2chase
Priority: major Milestone:
Component: interpreter Version:
Keywords: Cc:

Description

The same line "a:ZZ32[3] = [ 1 2 3 ]" worked just fine as a local declaration in a block but showed the following error message:

not_passing_yet/toplevelArray.fss:22:0~24:0: Type mismatch binding (1,2,3):(ZZ32,ZZ32,ZZ32) (type (ZZ32,ZZ32,ZZ32)) to a (type Array1 [\ZZ32,0,3\])

as a top-level declaration in a component.

Attachments

toplevelArray.fss Download (0.9 KB) - added by sukyoungryu 2 years ago.
not_passing_yet/toplevelArray.fss

Change History

Changed 2 years ago by sukyoungryu

not_passing_yet/toplevelArray.fss

Note: See TracTickets for help on using tickets.