Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add typed variable due to stricter checking
The original statement v = getOneFrom(()) will now be flagged as error, since getOneFrom on the empty map will return void as type which cannot be assigned to v. Solved by introducing map[int,int] m = () and using that as argument for getOneFrom.
- Loading branch information