Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- available-at.swift:6:1: error: 'function()' is unavailable
- function()
- ^~~~~~~~
- available-at.swift:2:6: note: 'function()' has been explicitly marked unavailable here
- func function() {
- ^
- (source_file
- (func_decl "function()" type='() -> ()' access=internal
- (parameter_list)
- (brace_stmt
- (call_expr type='()' location=available-at.swift:3:2 range=[available-at.swift:3:2 - line:3:14] nothrow
- (declref_expr type='(Any..., separator: String, terminator: String) -> ()' location=available-at.swift:3:2 range=[available-at.swift:3:2 - line:3:2] decl=Swift.(file).print(_:separator:terminator:) specialized=no)
- (tuple_shuffle_expr implicit type='(Any..., separator: String, terminator: String)' location=available-at.swift:3:8 range=[available-at.swift:3:7 - line:3:14] sourceIsScalar elements=[-2, -1, -1] variadic_sources=[0]
- (paren_expr type='Any' location=available-at.swift:3:8 range=[available-at.swift:3:7 - line:3:14]
- (erasure_expr implicit type='Any' location=available-at.swift:3:8 range=[available-at.swift:3:8 - line:3:8]
- (call_expr implicit type='String' location=available-at.swift:3:8 range=[available-at.swift:3:8 - line:3:8] nothrow
- (constructor_ref_call_expr implicit type='(_builtinStringLiteral: RawPointer, utf8CodeUnitCount: Word, isASCII: Int1) -> String' location=available-at.swift:3:8 range=[available-at.swift:3:8 - line:3:8] nothrow
- (declref_expr implicit type='String.Type -> (_builtinStringLiteral: RawPointer, utf8CodeUnitCount: Word, isASCII: Int1) -> String' location=available-at.swift:3:8 range=[available-at.swift:3:8 - line:3:8] decl=Swift.(file).String.init(_builtinStringLiteral:utf8CodeUnitCount:isASCII:) specialized=no)
- (type_expr implicit type='String.Type' location=available-at.swift:3:8 range=[available-at.swift:3:8 - line:3:8] typerepr='String'))
- (string_literal_expr type='(_builtinStringLiteral: Builtin.RawPointer, utf8CodeUnitCount: Builtin.Word, isASCII: Builtin.Int1)' location=available-at.swift:3:8 range=[available-at.swift:3:8 - line:3:8] encoding=utf8 value="TEST"))))))))
- (top_level_code_decl
- (brace_stmt
- (call_expr type='()' location=available-at.swift:6:1 range=[available-at.swift:6:1 - line:6:10] nothrow
- (declref_expr type='() -> ()' location=available-at.swift:6:1 range=[available-at.swift:6:1 - line:6:1] decl=main.(file).function()@available-at.swift:2:6 specialized=no)
- (tuple_expr type='()' location=available-at.swift:6:9 range=[available-at.swift:6:9 - line:6:10])))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement