Skip to content

Commit 975cfcd

Browse files
committed
roadmap: move "$if everywhere" to Done
1 parent 2fb5475 commit 975cfcd

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

‎ROADMAP.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ For a list of all features and fixes, check out the changelog.
4444
- [x] Lambdas: `a.sort(|a, b| a > b)`
4545
- [x] Implicit Veb contexts passed to requests
4646
- [x] Direct C/C++ interop without generating wrappers (via -experimental for now)
47+
- [x] Allow `$if` everywhere: top level, inside struct definitions, etc
4748

4849
## [Version 0.6]
4950

@@ -58,7 +59,6 @@ For a list of all features and fixes, check out the changelog.
5859
- [ ] `recover()` from panics
5960
- [ ] -usecache on by default
6061
- [ ] ORM migrations
61-
- [ ] Allow `$if` everywhere: top level, inside struct definitions, etc
6262
- [ ] Make ORM work without installing developer libs (libpq-dev etc)
6363

6464
## [Version 1.0]

‎vlib/v/transformer/transformer.v‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ pub fn (mut t Transformer) transform(mut ast_file ast.File) {
5757
}
5858
}
5959

60-
6160
pub fn (mut t Transformer) find_new_range(node ast.AssignStmt) {
6261
if !t.pref.is_prod {
6362
return
@@ -1120,7 +1119,6 @@ pub fn (mut t Transformer) infix_expr(mut node ast.InfixExpr) ast.Expr {
11201119
}
11211120
}
11221121

1123-
11241122
pub fn (mut t Transformer) if_expr(mut node ast.IfExpr) ast.Expr {
11251123
for mut branch in node.branches {
11261124
branch.cond = t.expr(mut branch.cond)

0 commit comments

Comments
 (0)