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
The following rpc method definition using params as the param name will trigger compilation error. If renamed to something else it will be ok. looks like the internal templates and macros are messing with it because they use params as their working variable. If we cannot fix it, then doc it at least.
...\engine_api.nim(83, 9) template/generic instantiation of `rpc` from here
...\json_rpc\server.nim(19, 16) template/generic instantiation of `rpc` from here
...\json_rpc\router.nim(155, 73) template/generic instantiation of `async` from here
...\json_rpc\jsonmarshal.nim(244, 22) Error: undeclared field: 'elems' for type system.string [declared in F:\projects\status-nim\lib\system.nim(34, 3)]
The text was updated successfully, but these errors were encountered:
The following rpc method definition using
params
as the param name will trigger compilation error. If renamed to something else it will be ok. looks like the internal templates and macros are messing with it because they useparams
as their working variable. If we cannot fix it, then doc it at least.Error message:
The text was updated successfully, but these errors were encountered: