diff --git a/cmd/tools/vtest-fixed.v b/cmd/tools/vtest-fixed.v index 52b2bf2724..6547340872 100644 --- a/cmd/tools/vtest-fixed.v +++ b/cmd/tools/vtest-fixed.v @@ -18,7 +18,6 @@ const ( 'vlib/net/http/http_httpbin_test.v', 'vlib/net/http/http_test.v', 'vlib/regex/regex_test.v', - 'vlib/v/tests/const_embed_test.v', 'vlib/v/tests/enum_bitfield_test.v', 'vlib/v/tests/fixed_array_test.v', 'vlib/v/tests/fn_test.v', diff --git a/vlib/v/gen/cgen.v b/vlib/v/gen/cgen.v index 034b2e9f65..cff9fb987a 100644 --- a/vlib/v/gen/cgen.v +++ b/vlib/v/gen/cgen.v @@ -1853,6 +1853,9 @@ fn (var g Gen) const_decl(node ast.ConstDecl) { ast.CharLiteral { g.const_decl_simple_define(name, val) } + ast.FloatLiteral { + g.const_decl_simple_define(name, val) + } ast.IntegerLiteral { g.const_decl_simple_define(name, val) }