     enum FunctionType {
         case none
         case function
+        case initializer
         case method
     }
     

        case .return(let keyword, let value):
            if resolver.currentFunction == .none {
                Lox.error(keyword, "Cannot return from top-level code.")
            }
            
            return .return(keyword: keyword, value: value.resolve(resolver: resolver))

                    fatalError("Class declaration can only contain methods.")
                }
                
                let declaration: Resolver.FunctionType = name.lexeme == "init" ? .initializer : .method
                
                return resolver.resolveFunction(name: name, parameters: parameters, body: body, type: declaration)
            }
            
            resolver.end()
