1
0

型でハゲてたので修正

This commit is contained in:
Atnanasi
2016-09-03 11:07:43 +09:00
parent 805f79a225
commit 77e9f75f71

View File

@@ -23,7 +23,8 @@ class DebugInfo
{
while (line.length < loc.line)
{
line ~= location.length;
import std.conv : to;
line ~= location.length.to!int;
}
for(int i = 0; i < code.length - old; i++)
{
@@ -646,7 +647,7 @@ class Compiler
}
break;
case NodeType.BinaryOperator:
{
{
auto binop = cast(BinaryOperator)expr;
compileExpression(binop.item2, sc);
if(binop.operator == TokenType.LBracket)