I'm writing a very basic ERC20 token using solidity in the Mist wallet. For some reason the compiler doesn't like the totalSupply() function name. If I change this name it compiles fine.
To be ERC20 compliant, this function has to be signed this way.
How do I get around this error?