Functions treated as duplicates only if prefix are the same.
Hi, I am developing a smart contract and noticed that two functions with the same prefix are treated as duplicates and returns an error:
error: duplicate case value '14024952939320644976'
As an example, 'select' and 'selectAuth' would get treated as the same function since 'select' matches for both.
I am not sure if this was the intended behavior, but it seems that it would be better to check against the entire name.
this is because only lower case characters ('a'-'z') and numbers from 1 to 5 are allowed in a function name.
I have other functions written in camelcase that are still compiling. Will it only print that error on run-time? @taokayan
As a follow-up, can variables defined internally have uppercase characters?
For consistency, please ensure all function names have lowercase letters and numbers from 1-5 only. Variables names don't have this limitation.