diff --git a/vlib/glfw/glfw.v b/vlib/glfw/glfw.v index 3807ab7e9c..0a2e10265d 100644 --- a/vlib/glfw/glfw.v +++ b/vlib/glfw/glfw.v @@ -1,12 +1,12 @@ // Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. - module glfw +import gl + // note: we might need special case for this // see TmpGlImportHack below (joe-c) -import gl #flag -I @VROOT/thirdparty/glfw #flag -L @VROOT/thirdparty/glfw diff --git a/vlib/strconv/ftoa/utilities.v b/vlib/strconv/ftoa/utilities.v index 40eeede396..d63a39bd22 100644 --- a/vlib/strconv/ftoa/utilities.v +++ b/vlib/strconv/ftoa/utilities.v @@ -18,9 +18,11 @@ * **********************************************************************/ module ftoa -//import math + import math.bits +//import math + /****************************************************************************** * * General Utilities diff --git a/vlib/v/ast/str.v b/vlib/v/ast/str.v index ba26ac0095..ff77da7eb8 100644 --- a/vlib/v/ast/str.v +++ b/vlib/v/ast/str.v @@ -3,10 +3,11 @@ // that can be found in the LICENSE file. module ast -// These methods are used only by vfmt, vdoc, and for debugging. import v.table import strings +// These methods are used only by vfmt, vdoc, and for debugging. + pub fn (node &FnDecl) str(t &table.Table) string { mut f := strings.new_builder(30) if node.is_pub { diff --git a/vlib/v/parser/parse_type.v b/vlib/v/parser/parse_type.v index 39002a3813..6ad3c961cc 100644 --- a/vlib/v/parser/parse_type.v +++ b/vlib/v/parser/parse_type.v @@ -1,8 +1,8 @@ -module parser - // Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved. // Use of this source code is governed by an MIT license // that can be found in the LICENSE file. +module parser + import v.table pub fn (mut p Parser) parse_array_type() table.Type {