================================================================================
errors/fullStackTraces
================================================================================

local wrong = throw("fail")

hidden v1 = wrong

function f1() = v1

local function f2() = f1()

class Foo {
  foo = f2()
}

aFoo: Foo

--------------------------------------------------------------------------------

(module
  (classProperty
    (modifier)
    (identifier)
    (throwExpr
      (parenthesizedExpr
        (slStringLiteral))))
  (classProperty
    (modifier)
    (identifier)
    (variableExpr
      (identifier)))
  (classMethod
    (methodHeader
      (identifier)
      (parameterList))
    (variableExpr
      (identifier)))
  (classMethod
    (methodHeader
      (modifier)
      (identifier)
      (parameterList))
    (methodCallExpr
      (identifier)
      (argumentList)))
  (clazz
    (identifier)
    (classBody
      (classProperty
        (identifier)
        (methodCallExpr
          (identifier)
          (argumentList)))))
  (classProperty
    (identifier)
    (typeAnnotation
      (type
        (qualifiedIdentifier
          (identifier))))))
