JetFile: DynamicTypes.kt
  PACKAGE_DIRECTIVE
    <empty list>
  IMPORT_LIST
    <empty list>
  FUN
    PsiElement(fun)('fun')
    PsiWhiteSpace(' ')
    PsiElement(IDENTIFIER)('foo')
    VALUE_PARAMETER_LIST
      PsiElement(LPAR)('(')
      PsiWhiteSpace('\n        ')
      VALUE_PARAMETER
        PsiElement(IDENTIFIER)('p1')
        PsiElement(COLON)(':')
        PsiWhiteSpace(' ')
        TYPE_REFERENCE
          DYNAMIC_TYPE
            PsiElement(dynamic)('dynamic')
      PsiElement(COMMA)(',')
      PsiWhiteSpace('\n        ')
      VALUE_PARAMETER
        PsiElement(IDENTIFIER)('p2')
        PsiElement(COLON)(':')
        PsiWhiteSpace(' ')
        TYPE_REFERENCE
          ANNOTATION_ENTRY
            PsiElement(AT)('@')
            CONSTRUCTOR_CALLEE
              TYPE_REFERENCE
                USER_TYPE
                  REFERENCE_EXPRESSION
                    PsiElement(IDENTIFIER)('a')
          PsiWhiteSpace(' ')
          DYNAMIC_TYPE
            PsiElement(dynamic)('dynamic')
      PsiElement(COMMA)(',')
      PsiWhiteSpace('\n        ')
      VALUE_PARAMETER
        PsiElement(IDENTIFIER)('p3')
        PsiElement(COLON)(':')
        PsiWhiteSpace(' ')
        TYPE_REFERENCE
          USER_TYPE
            USER_TYPE
              REFERENCE_EXPRESSION
                PsiElement(IDENTIFIER)('foo')
            PsiElement(DOT)('.')
            REFERENCE_EXPRESSION
              PsiElement(IDENTIFIER)('dynamic')
      PsiElement(COMMA)(',')
      PsiWhiteSpace('\n        ')
      VALUE_PARAMETER
        PsiElement(IDENTIFIER)('p4')
        PsiElement(COLON)(':')
        PsiWhiteSpace(' ')
        TYPE_REFERENCE
          USER_TYPE
            USER_TYPE
              REFERENCE_EXPRESSION
                PsiElement(IDENTIFIER)('dynamic')
            PsiElement(DOT)('.')
            REFERENCE_EXPRESSION
              PsiElement(IDENTIFIER)('foo')
      PsiElement(COMMA)(',')
      PsiWhiteSpace('\n        ')
      VALUE_PARAMETER
        PsiElement(IDENTIFIER)('p5')
        PsiElement(COLON)(':')
        PsiWhiteSpace(' ')
        TYPE_REFERENCE
          USER_TYPE
            REFERENCE_EXPRESSION
              PsiElement(IDENTIFIER)('dynamic')
            TYPE_ARGUMENT_LIST
              PsiElement(LT)('<')
              TYPE_PROJECTION
                TYPE_REFERENCE
                  USER_TYPE
                    REFERENCE_EXPRESSION
                      PsiElement(IDENTIFIER)('T')
              PsiElement(GT)('>')
      PsiElement(COMMA)(',')
      PsiWhiteSpace('\n        ')
      VALUE_PARAMETER
        PsiElement(IDENTIFIER)('p6')
        PsiElement(COLON)(':')
        PsiWhiteSpace(' ')
        TYPE_REFERENCE
          USER_TYPE
            REFERENCE_EXPRESSION
              PsiElement(IDENTIFIER)('Foo')
            TYPE_ARGUMENT_LIST
              PsiElement(LT)('<')
              TYPE_PROJECTION
                TYPE_REFERENCE
                  DYNAMIC_TYPE
                    PsiElement(dynamic)('dynamic')
              PsiElement(GT)('>')
      PsiElement(COMMA)(',')
      PsiWhiteSpace('\n        ')
      VALUE_PARAMETER
        PsiElement(IDENTIFIER)('p7')
        PsiElement(COLON)(':')
        PsiWhiteSpace(' ')
        TYPE_REFERENCE
          NULLABLE_TYPE
            DYNAMIC_TYPE
              PsiElement(dynamic)('dynamic')
            PsiElement(QUEST)('?')
      PsiElement(COMMA)(',')
      PsiWhiteSpace('\n        ')
      VALUE_PARAMETER
        PsiElement(IDENTIFIER)('p8')
        PsiElement(COLON)(':')
        PsiWhiteSpace(' ')
        TYPE_REFERENCE
          FUNCTION_TYPE
            VALUE_PARAMETER_LIST
              PsiElement(LPAR)('(')
              VALUE_PARAMETER
                TYPE_REFERENCE
                  DYNAMIC_TYPE
                    PsiElement(dynamic)('dynamic')
              PsiElement(RPAR)(')')
            PsiWhiteSpace(' ')
            PsiElement(ARROW)('->')
            PsiWhiteSpace(' ')
            TYPE_REFERENCE
              DYNAMIC_TYPE
                PsiElement(dynamic)('dynamic')
      PsiWhiteSpace('\n')
      PsiElement(RPAR)(')')
    PsiElement(COLON)(':')
    PsiWhiteSpace(' ')
    TYPE_REFERENCE
      DYNAMIC_TYPE
        PsiElement(dynamic)('dynamic')
