forked from JavaTX/JavaCompilerCore
Bug fixes, TestComplete in 'syntaxtreegenerator' runs without error
This commit is contained in:
parent
168a499811
commit
d48b888075
@ -284,9 +284,6 @@ public class StatementGenerator {
|
||||
genericArgs = null;
|
||||
if (createdname.typeArgumentsOrDiamond() != null)
|
||||
genericArgs = createdname.typeArgumentsOrDiamond().typeArguments();
|
||||
if (genericArgs != null) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
IdentifierContext identifier = createdname.identifier();
|
||||
return (RefType) TypeGenerator.convertTypeName(identifier.getText(), genericArgs, identifier.getStart(), reg, generics);
|
||||
}
|
||||
|
@ -536,7 +536,7 @@ public class TestComplete {
|
||||
@Test
|
||||
public void subMatTest() {
|
||||
try {
|
||||
FileInputStream fileIn = new FileInputStream(javFiles.get("SimpSubMatrixeCycle")[1]);
|
||||
FileInputStream fileIn = new FileInputStream(javFiles.get("SubMatrix")[1]);
|
||||
String expectedAST = new String(fileIn.readAllBytes());
|
||||
fileIn.close();
|
||||
expectedAST = expectedAST.replaceAll("TPH [A-Z]+", "TPH");
|
||||
|
Loading…
Reference in New Issue
Block a user