Opened 15 years ago

Closed 15 years ago

#300 closed defect (fixed)

change type in AST factory composite node method

Reported by: Stephen Siegel Owned by: zirkel
Priority: major Milestone: 1.1
Component: Administration Version: 1.1
Keywords: composite ast generic array list Cc:

Description

I suggest changing the type of the fields parameter in the following:

/** Alternate method to create type for unions or structs. */
	 CompositeTypeNodeIF compositeTypeNode(String name,
	           PairIF<String, TypeNodeIF>[] fields, boolean isUnion);

to ArrayList<PairIF<String,TypeNodeIF>> because Java does not allow you to instantiate an array of that type.

Change History (2)

comment:1 by zirkel, 15 years ago

Owner: set to zirkel
Status: newaccepted

Will do.

comment:2 by zirkel, 15 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.