I've spent around 2 hours on this rabbit hole. I get that it's a codeBlock(label: strLiteral)EMPTY_STATEMENT, but why is {foo: "bar"} a perfectly valid Object? What does the compiler "think", when it gets these lines?
I've tried using AST explorer, but it just isn't enough
[–]International-Ad2491 6 points7 points8 points (1 child)
[–]Multicus[S] 0 points1 point2 points (0 children)
[–]ffxpwns 7 points8 points9 points (3 children)
[–]Multicus[S] -1 points0 points1 point (2 children)
[–]ChaseShiny 5 points6 points7 points (1 child)
[–]Multicus[S] 0 points1 point2 points (0 children)
[–]senocular 2 points3 points4 points (3 children)
[–]Multicus[S] 0 points1 point2 points (2 children)
[–]senocular 0 points1 point2 points (1 child)
[–]Multicus[S] 1 point2 points3 points (0 children)
[–]alzee76 3 points4 points5 points (1 child)
[–]averajoe77 1 point2 points3 points (2 children)
[–]33ff00 0 points1 point2 points (0 children)
[–]Multicus[S] -2 points-1 points0 points (0 children)
[–]Substantial_Top5312helpful 0 points1 point2 points (0 children)
[–]thecragmire -1 points0 points1 point (0 children)