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
I'm a bit surprised that the map.hello() isn't a compiler error or warning. Should it be?
The text was updated successfully, but these errors were encountered:
LandonSchropp
changed the title
Should calling map keys as functions be a compiler warning?
Should calling accessed map values as functions be a compiler warning?
Jul 31, 2021
Environment
Current behavior
This compiles and runs without warnings:
Expected behavior
I'm a bit surprised that the
map.hello()
isn't a compiler error or warning. Should it be?The text was updated successfully, but these errors were encountered: