These are chat archives for ethereum/tutorials

20th
Oct 2018
Kapsel2018
@Kapsel2018
Oct 20 2018 13:02
Hej
I have problem: Copy the code for my token and show this:

Could not compile source code.

Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
function TokenERC20(
^ (Relevant source part starts here and spans across multiple lines).