v icon indicating copy to clipboard operation
v copied to clipboard

vweb example fails: explicit type arguments are not allowed; remove `<...>`

Open Bowero opened this issue 7 years ago • 3 comments

V version: V 0.1.21 8a31ee4 OS: Arch Linux 5.3.6-arch1-1-ARCH

What did you do? I tried to run the vweb example.

What did you expect to see? I expected the example to run.

What did you see instead? The compilation resulted in a v panic:

test_app.v:16:10: explicit type arguments are not allowed; remove `<...>`
   15| fn main() {

   16| 	vweb.run<App>(Port)

             	  ^
   17| }

   18| 

Bowero avatar Oct 20 '19 09:10 Bowero

oh, i see, generics function error.

changrui avatar Oct 20 '19 09:10 changrui

Not the first one today.

Bowero avatar Oct 20 '19 09:10 Bowero

Fixed.

medvednikov avatar Dec 07 '19 16:12 medvednikov