提交 1562de13 编写于 作者: D Dmitry Jemerov

map Nothing to void

上级 5c55f7d7
......@@ -79,7 +79,7 @@ public class JetTypeMapper {
}
public Type mapType(final JetType jetType) {
if (jetType.equals(JetStandardClasses.getUnitType())) {
if (jetType.equals(JetStandardClasses.getUnitType()) || jetType.equals(JetStandardClasses.getNothingType())) {
return Type.VOID_TYPE;
}
if (jetType.equals(standardLibrary.getIntType())) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册