From 947900f03ea6a02ed7bc3eae0dd2f78b7e4feb52 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 6 Dec 2022 12:41:41 +0300 Subject: [PATCH] add test for aliased shape block --- test/corpus/shape.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/test/corpus/shape.txt b/test/corpus/shape.txt index 0375213..c1c90ef 100644 --- a/test/corpus/shape.txt +++ b/test/corpus/shape.txt @@ -106,3 +106,27 @@ foo: { )) )) ) + +================================================================================ +Aliased shape block +================================================================================ + +foo: Foo { + bar: Bar { + baz: Baz { + biz: Biz + } + } +} + +-------------------------------------------------------------------------------- + +(source_file + (shape (identifier) (label) (block + (shape (identifier) (label) (block + (shape (identifier) (label) (block + (shape (identifier) (label)) + )) + )) + )) +)