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 , 15 years ago
| Owner: | set to |
|---|---|
| Status: | new → accepted |
comment:2 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.

Will do.