vscode-vlang icon indicating copy to clipboard operation
vscode-vlang copied to clipboard

Returned type of of function has no scope

Open alexesprit opened this issue 5 years ago • 4 comments

The returned type has no scope for functions return a custom (not built-in) type. It should have storage.type.other.v scope.

image

alexesprit avatar Jan 01 '20 13:01 alexesprit

@pouyakary another task if you want :)

danieldaeschle avatar Jul 25 '21 13:07 danieldaeschle

@danieldaeschle well I always liked to be a V contributor :) assign me to!

pouyakary avatar Jul 25 '21 13:07 pouyakary

For more work ask Alex on discord! :D

danieldaeschle avatar Jul 25 '21 14:07 danieldaeschle

So been trying to tackle this one that I found out I don't understand this part of the grammar that correctly. So we have 3 different function declaration grammars:

  • function-decl
  • function-extend-decl
  • function-limited-overload-decl

Can you explain me what are the differences between them?

pouyakary avatar Aug 26 '21 13:08 pouyakary