Fix crash when doing a lookup on an empty map.

This commit is contained in:
Bob Nystrom
2015-01-28 19:19:04 -08:00
parent 699b453805
commit 0aa4d7c2bd
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
// This is a regression test to ensure map handles a null entry array.
var map = {}
IO.print(map["key"]) // expect: null