compiler: support comma-ok in map lookup

This commit is contained in:
Ayke van Laethem
2018-10-20 17:54:16 +02:00
parent da89464a63
commit 7c2a6169b0
5 changed files with 33 additions and 15 deletions
+2
View File
@@ -46,3 +46,5 @@ map read: seven = 7
ten = 10
eleven = 11
twelve = 12
lookup with comma-ok: eight 8 true
lookup with comma-ok: nokey 0 false