Fix C# cast error in currentDefaultTags()

This commit is contained in:
2023-02-15 13:38:21 -07:00
parent 4eae5e051b
commit 007f2cf9e7

View File

@@ -1,7 +1,10 @@
(load "../Lib.kiss")
(prop &mut :String _playgroundKey "")
(method :TagList currentDefaultTags [] (or (dictGet playgroundDefaultTags _playgroundKey) []))
(method :TagList currentDefaultTags []
(or
(dictGet playgroundDefaultTags _playgroundKey)
(new Array<String>)))
(method :String getPlaygroundKey [] _playgroundKey)
(prop :Map<String,TagList> playgroundDefaultTags (new Map))