       scope.boundTypeVariables)...
 
   isClassDefined: (name) ->
-    !!@classNamed name
+    !!@_classNamed name
 
   addClass: (name, classConstraint, superClasses, declarations) ->
     addToMap @_scope().classes, name,

      declarations: declarations

  classNamed: (name) ->
    for scope in (reverse @scopes)
      if classDeclaration = lookupInMap scope.classes, name
        return classDeclaration


findSuperClassChain = (ctx, className, targetClassName) ->
  for s in (ctx.classNamed className).supers
    name = s.className
    if name is targetClassName
      return [name]
    else if chain = findSuperClassChain ctx, name, targetClassName
      return join [name], chain
  undefined

typeNamesOfNormalized = (constraint) ->
