Mark aka walkingdevel
Mark aka walkingdevel
Feature for preventing XSS attacks and running malicious JavaScript code in Markdown files. Yep, it is parsing HTML via regular expressions, but it is a temporary solution. In the future,...
### Describe the bug After #17205, I thought about what if I add more parenthesis and got this bug. ```v _ := ((print(10))) ``` ### Expected Behavior ``` test.v:1:3: error:...
### Describe the bug ```v module main struct ParExpr { expr Expr } struct InfixExpr { left Expr right Expr } type Expr = InfixExpr | ParExpr fn print_expr(expr &Expr)...
Fixes #16443
This is the first PR from a series of breaking changes for `V ORM`, which makes it more consistent in working with types. Before this PR, `V ORM` didn't allow...
### Describe the bug https://play.vlang.io/?query=796425803d ```v struct NotFoundError { Error } fn get_username() !string { return NotFoundError{} } fn print_username() ! { username := get_username() or { if err is...
### Describe the bug V can't narrow sum type to the `Planet` in the if condition. Works only inside a block. ```v struct Mars {} struct Earth { population i64...
Fixes #248
