checker: remove vweb deprecation for now

This commit is contained in:
Alexander Medvednikov 2025-01-19 07:18:27 +03:00
parent e5f70278ea
commit a93d94aadd

View File

@ -2767,8 +2767,8 @@ fn (mut c Checker) hash_stmt(mut node ast.HashStmt) {
fn (mut c Checker) import_stmt(node ast.Import) { fn (mut c Checker) import_stmt(node ast.Import) {
if node.mod == 'x.vweb' { if node.mod == 'x.vweb' {
println('`x.vweb` is now `veb`. The module is no longer experimental. Simply `import veb` instead of `import x.vweb`.') println('`x.vweb` is now `veb`. The module is no longer experimental. Simply `import veb` instead of `import x.vweb`.')
} else if node.mod == 'vweb' { //} else if node.mod == 'vweb' {
println('`vweb` has been deprecated. Please use the more stable and fast `veb`has been deprecated. Please use the more stable and fast `veb`` instead of `import x.vweb`.') // println('`vweb` has been deprecated. Please use the more stable and fast `veb` instead')
} }
c.check_valid_snake_case(node.alias, 'module alias', node.pos) c.check_valid_snake_case(node.alias, 'module alias', node.pos)
for sym in node.syms { for sym in node.syms {