Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/node/NodeParser.java @ 11183:0f5ff66a949d
Truffle-DSL: Fixed a bug with anonymous children (GRAAL-321 #resolve)
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 29 Jul 2013 18:46:43 +0200 |
parents | a9cb98ff8fd9 |
children | 7a8835ec5e7d |
comparison
equal
deleted
inserted
replaced
11182:fa65fc74eb76 | 11183:0f5ff66a949d |
---|---|
427 nodeChild.setNode(fieldNodeData); | 427 nodeChild.setNode(fieldNodeData); |
428 if (fieldNodeData == null) { | 428 if (fieldNodeData == null) { |
429 nodeChild.addError("Node type '%s' is invalid or not a valid Node.", Utils.getQualifiedName(childType)); | 429 nodeChild.addError("Node type '%s' is invalid or not a valid Node.", Utils.getQualifiedName(childType)); |
430 } | 430 } |
431 | 431 |
432 } | 432 index++; |
433 index++; | 433 } |
434 } | 434 } |
435 | 435 |
436 List<NodeChildData> filteredChildren = new ArrayList<>(); | 436 List<NodeChildData> filteredChildren = new ArrayList<>(); |
437 Set<String> encounteredNames = new HashSet<>(); | 437 Set<String> encounteredNames = new HashSet<>(); |
438 for (int i = parsedChildren.size() - 1; i >= 0; i--) { | 438 for (int i = parsedChildren.size() - 1; i >= 0; i--) { |