Merge pull request #235 from GeorgeSapkin/fixes
Fixed compilation with dmd 2.066
This commit is contained in:
commit
8785c95c1e
src/analysis
|
@ -21,7 +21,7 @@ class IfStatementCheck : BaseAnalyzer
|
||||||
|
|
||||||
override void visit(const IfStatement ifStatement)
|
override void visit(const IfStatement ifStatement)
|
||||||
{
|
{
|
||||||
import std.format : format;
|
import std.string : format;
|
||||||
import std.algorithm : sort, countUntil;
|
import std.algorithm : sort, countUntil;
|
||||||
import std.array : appender;
|
import std.array : appender;
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ private:
|
||||||
void redundancyCheck(const ExpressionNode expression, size_t line,
|
void redundancyCheck(const ExpressionNode expression, size_t line,
|
||||||
size_t column)
|
size_t column)
|
||||||
{
|
{
|
||||||
import std.format : format;
|
import std.string : format;
|
||||||
import std.array : appender;
|
import std.array : appender;
|
||||||
import std.algorithm : sort;
|
import std.algorithm : sort;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue