fixes #1541
Annotations
11 errors and 4 warnings
|
Self tests:
vlib/v/checker/tests/invalid_vweb_param_type.vv#L8
invalid type `[]bool` for parameter `list` in vweb app method `index` (only strings, numbers, and bools are allowed)
|
Self tests:
vlib/vweb/vweb.v#L722
assignment requires a non empty `or {}` block
|
Self tests:
vlib/v/checker/tests/invalid_vweb_param_type.vv#L8
invalid type `[]bool` for parameter `list` in vweb app method `index` (only strings, numbers, and bools are allowed)
|
Self tests
assignment requires a non empty `or {}` block
|
Self tests
invalid type `[]bool` for parameter `list` in vweb app method `index` (only strings, numbers, and bools are allowed)
|
Self tests:
vlib/v/checker/tests/option_or_block_mismatch.vv#L10
wrong return type `Bar` in the `or {}` block, expected `&Bar`
|
Self tests:
vlib/v/checker/tests/option_or_block_mismatch.vv#L13
the default expression type in the `or` block should be `&Bar`, instead you gave a value of type `Bar`
|
Self tests:
vlib/v/checker/tests/option_or_block_mismatch.vv#L10
wrong return type `Bar` in the `or {}` block, expected `&Bar`
|
Self tests
the default expression type in the `or` block should be `&Bar`, instead you gave a value of type `Bar`
|
Self tests:
vlib/v/checker/tests/option_or_block_returns_value_of_incompatible_type.vv#L13
the default expression type in the `or` block should be `string`, instead you gave a value of type `int literal`
|
Self tests:
vlib/v/checker/tests/vweb_routing_checks.vv#L20
mismatched parameters count between vweb method `App.bar` (1) and route attribute ['/bar'] (0)
|
Self tests:
vlib/v/checker/tests/vweb_routing_checks.vv#L26
mismatched parameters count between vweb method `App.cow` (0) and route attribute ['/cow/:low'] (1)
|
Self tests:
vlib/v/checker/tests/vweb_routing_checks.vv#L20
mismatched parameters count between vweb method `App.bar` (1) and route attribute ['/bar'] (0)
|
Self tests:
vlib/v/checker/tests/vweb_routing_checks.vv#L26
mismatched parameters count between vweb method `App.cow` (0) and route attribute ['/cow/:low'] (1)
|
Loading