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
@ -1,12 +1,11 @@
|
||||
module main
|
||||
|
||||
import gx
|
||||
import gl
|
||||
import gg
|
||||
import time
|
||||
import glfw
|
||||
import math
|
||||
|
||||
import time
|
||||
import glfw
|
||||
// import math
|
||||
|
||||
const (
|
||||
Size = 700
|
||||
Scale = 50.0
|
||||
|
@ -3,7 +3,6 @@
|
||||
module main
|
||||
|
||||
import time
|
||||
import os
|
||||
|
||||
[live]
|
||||
fn print_message() {
|
||||
|
@ -7,7 +7,6 @@ module main
|
||||
import rand
|
||||
import time
|
||||
import gx
|
||||
import gl
|
||||
import gg
|
||||
import glfw
|
||||
import math
|
||||
|
Reference in New Issue
Block a user