Skip to content

Commit 224e64b

Browse files
authored
Revert "Add tests for previously wrong parse trees (#50)" (#51)
This reverts commit cc2b557.
1 parent cc2b557 commit 224e64b

File tree

2 files changed

+0
-115
lines changed

2 files changed

+0
-115
lines changed

test/corpus/annotations.txt

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -561,83 +561,3 @@ annotation class MyAnnotation
561561
selector: (simple_identifier))))))
562562
(class_modifier))
563563
name: (simple_identifier)))
564-
565-
566-
======================
567-
Annotations on interface
568-
======================
569-
570-
import javax.inject.Inject
571-
572-
@[EntryPoint InstallIn(ActivityComponent::class)]
573-
@OptIn(UnstableApi::class)
574-
interface EntryPoint {
575-
val activityProvider: ActivityProvider
576-
}
577-
578-
@ActivityRetainedScoped
579-
@OptIn(UnstableApi::class)
580-
class NavigationActivityProvider @Inject constructor() {
581-
}
582-
583-
---
584-
585-
(source_file
586-
(import_header
587-
name: (identifier
588-
(simple_identifier)
589-
(simple_identifier)
590-
(simple_identifier)))
591-
(class_declaration
592-
modifiers: (modifiers
593-
(annotation
594-
(user_type
595-
(type_identifier))
596-
(constructor_invocation
597-
type: (user_type
598-
(type_identifier))
599-
args: (value_arguments
600-
(value_argument
601-
expression: (callable_reference
602-
receiver: (user_type
603-
(type_identifier)))))))
604-
(annotation
605-
(constructor_invocation
606-
type: (user_type
607-
(type_identifier))
608-
args: (value_arguments
609-
(value_argument
610-
expression: (callable_reference
611-
receiver: (user_type
612-
(type_identifier))))))))
613-
name: (simple_identifier)
614-
body: (class_body
615-
(property_declaration
616-
binding_pattern: (binding_pattern_kind)
617-
var_decl: (variable_declaration
618-
id: (simple_identifier)
619-
type: (type
620-
type: (user_type
621-
(type_identifier)))))))
622-
(class_declaration
623-
modifiers: (modifiers
624-
(annotation
625-
(user_type
626-
(type_identifier)))
627-
(annotation
628-
(constructor_invocation
629-
type: (user_type
630-
(type_identifier))
631-
args: (value_arguments
632-
(value_argument
633-
expression: (callable_reference
634-
receiver: (user_type
635-
(type_identifier))))))))
636-
name: (simple_identifier)
637-
primary_constructor: (primary_constructor
638-
modifiers: (modifiers
639-
(annotation
640-
(user_type
641-
(type_identifier))))
642-
(class_parameters))
643-
body: (class_body)))

test/corpus/classes.txt

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,38 +1179,3 @@ public enum class CodeStyleValue {
11791179
body: (class_body
11801180
(enum_entry
11811181
name: (simple_identifier)))))
1182-
1183-
================================================================================
1184-
Class with inner class and companion object
1185-
================================================================================
1186-
1187-
public abstract class AbstractServerSerializationTest {
1188-
1189-
@Serializable
1190-
private class NullValues
1191-
1192-
private companion object {
1193-
}
1194-
}
1195-
1196-
--------------------------------------------------------------------------------
1197-
1198-
(source_file
1199-
(class_declaration
1200-
modifiers: (modifiers
1201-
(visibility_modifier)
1202-
(inheritance_modifier))
1203-
name: (simple_identifier)
1204-
body: (class_body
1205-
(class_declaration
1206-
modifiers: (modifiers
1207-
(annotation
1208-
(user_type
1209-
(type_identifier)))
1210-
(visibility_modifier))
1211-
name: (simple_identifier))
1212-
(companion_object
1213-
modifiers: (modifiers
1214-
(visibility_modifier))
1215-
body: (class_body)))))
1216-

0 commit comments

Comments
 (0)