From b61957f7f9223bbde2c404467ee120beb9b3d438 Mon Sep 17 00:00:00 2001 From: Feldwor Date: Wed, 18 Sep 2019 17:37:30 +0300 Subject: [PATCH] add import std.algorithm; ``` vaidas@vaidas-SATELLITE-L855:~$ dub run dlangui:tetris Building package dlangui:tetris in /home/vaidas/.dub/packages/dlangui-0.9.182/dlangui/examples/tetris/ Performing "debug" build using dmd for x86_64. derelict-util 3.0.0-beta.2: target for configuration "library" is up to date. derelict-ft 2.0.0-beta.5: target for configuration "library" is up to date. derelict-gl3 2.0.0-beta.8: target for configuration "library" is up to date. derelict-sdl2 3.0.0-beta.8: target for configuration "derelict-sdl2-dynamic" is up to date. dlangui 0.9.182: target for configuration "minimal" is up to date. dlangui:tetris 0.9.182: building configuration "application"... .dub/packages/dlangui-0.9.182/dlangui/examples/tetris/src/gui.d(562,20): Error: min is not defined, perhaps import std.algorithm; is needed? dmd failed with exit code 1. ``` --- examples/tetris/src/gui.d | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/tetris/src/gui.d b/examples/tetris/src/gui.d index b29b763a..27997bf6 100644 --- a/examples/tetris/src/gui.d +++ b/examples/tetris/src/gui.d @@ -3,6 +3,7 @@ module gui; import model; import dlangui; +import std.algorithm; /// game action codes enum TetrisAction : int {