mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: error on unused imports
This commit is contained in:
committed by
Alexander Medvednikov
parent
71484e89d6
commit
23c84516e2
@@ -4,6 +4,8 @@
|
||||
|
||||
module glfw
|
||||
|
||||
// note: we might need special case for this
|
||||
// see TmpGlImportHack below (joe-c)
|
||||
import gl
|
||||
|
||||
#flag -I @VROOT/thirdparty/glfw
|
||||
@@ -41,6 +43,11 @@ const (
|
||||
KeyDown = 264
|
||||
)
|
||||
|
||||
// joe-c: fix & remove
|
||||
struct TmpGlImportHack {
|
||||
hack gl.TmpGlImportHack
|
||||
}
|
||||
|
||||
struct WinCfg {
|
||||
width int
|
||||
height int
|
||||
|
||||
Reference in New Issue
Block a user