You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: expected type Field, found type ()
┌─ /Users/leonidlogvinov/Dev/ZK/trait_repro/src/main.nr:3:18
│
3 │ fn main() -> pub Field {
│ ----- expected Field because of returntype
│ ╭────────────────────────'4 │ │ fun::<2>()5 │ │ } │ ╰─' () returned here
│
error: Unexpected ::, expected one of binary operator, Ident
┌─ /Users/leonidlogvinov/Dev/ZK/trait_repro/src/main.nr:4:8
│
4 │ fun::<2>()
│ ---
│
Aborting due to 2 previous errors
Aim
Use turbofish on a simple method
Expected Behavior
Compiles
Bug
To Reproduce
Project Impact
Nice-to-have
Impact Context
No response
Workaround
Yes
Workaround Description
Not use turbofish
Additional Context
No response
Installation Method
None
Nargo Version
nargo version = 0.30.0
NoirJS Version
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered: