From 02131d1ae5bdbe5d33b061df6a3bbed0a99bac82 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Thu, 27 Jun 2019 23:20:30 +0200 Subject: [PATCH] fix http --- compiler/parser.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/parser.v b/compiler/parser.v index 02daf87375..8ec039c664 100644 --- a/compiler/parser.v +++ b/compiler/parser.v @@ -142,7 +142,8 @@ fn (p mut Parser) parse() { } p.fgenln('\n') p.builtin_pkg = p.pkg == 'builtin' - p.can_chash = p.pkg == 'gg' || p.pkg == 'glm' || p.pkg == 'gl' || p.pkg == 'glfw' // TODO tmp remove + p.can_chash = p.pkg == 'gg' || p.pkg == 'glm' || p.pkg == 'gl' || + p.pkg == 'http' || p.pkg == 'glfw' // TODO tmp remove // Import pass - the first and the smallest pass that only analyzes imports p.table.register_package(p.pkg) if p.run == RUN_IMPORTS {