IDEA-127533 int field is displayed as char
This commit is contained in:
@@ -442,6 +442,11 @@ public class ClassWriter {
|
||||
}
|
||||
else {
|
||||
buffer.append(" = ");
|
||||
|
||||
if (initializer.type == Exprent.EXPRENT_CONST) {
|
||||
((ConstExprent) initializer).adjustConstType(fieldType);
|
||||
}
|
||||
|
||||
// FIXME: special case field initializer. Can map to more than one method (constructor) and bytecode intruction.
|
||||
buffer.append(initializer.toJava(indent, tracer));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user