From 18c440c9908ff5870493f31b293ddc066c52a7b1 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Fri, 7 Feb 2020 22:16:14 +0100 Subject: [PATCH] fix int_test.v --- vlib/builtin/int_test.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/builtin/int_test.v b/vlib/builtin/int_test.v index da0d3b6d86..9f93e3a8c5 100644 --- a/vlib/builtin/int_test.v +++ b/vlib/builtin/int_test.v @@ -46,7 +46,7 @@ fn test_float_equal_operator() { assert a.gebit(1) f := 1.2 - ab := f as int + ab := int(f) assert ab == 1 }