v icon indicating copy to clipboard operation
v copied to clipboard

"ok" as a parameter name results in error

Open Undumendil opened this issue 7 years ago • 1 comments

Input:

fn test(ok int) {
    println(ok)
}
fn main() {
    test(3)
}

Expected output: 3 Output: You just found a bug. V can't compile this program, but it should. Please create a GitHub issue.

Undumendil avatar Jun 18 '19 22:06 Undumendil

Fixed.

medvednikov avatar Jun 18 '19 22:06 medvednikov