Merge pull request #9 from Tosuke/master

型でハゲてたので修正
This commit is contained in:
otya authored and GitHub committed 2016-09-03 11:48:44 +09:00
commit df1bdb87e3
1 file changed
+2 -1
+2 -1
View File
@@ -23,7 +23,8 @@ class DebugInfo
{ {
while (line.length < loc.line) 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++) for(int i = 0; i < code.length - old; i++)
{ {