diff --git a/vlib/compiler/main.v b/vlib/compiler/main.v index 00f6ad5da5..cf7c78b52c 100644 --- a/vlib/compiler/main.v +++ b/vlib/compiler/main.v @@ -843,7 +843,6 @@ pub fn new_v(args[]string) &V { // `v -o dir/exec`, create "dir/" if it doesn't exist if out_name.contains(os.path_separator) { d := out_name.all_before_last(os.path_separator) - println('DIRRR ' + d) if !os.dir_exists(d) { println('creating a new directory "$d"') os.mkdir(d) diff --git a/vlib/gx/gx.v b/vlib/gx/gx.v index 0996d69529..d8e2506c44 100644 --- a/vlib/gx/gx.v +++ b/vlib/gx/gx.v @@ -75,16 +75,14 @@ pub fn (c Color) str() string { } pub fn (a Color) eq(b Color) bool { - return a.r == b.r && - a.g == b.g && - a.b == b.b + return a.r == b.r && a.g == b.g && a.b == b.b } pub fn rgb(r, g, b int) Color { res := Color { - r: r, - g: g, - b: b, + r: r + g: g + b: b } return res }