Advertisement
Guest User

Untitled

a guest
Jun 29th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. available-at.swift:6:1: error: 'function()' is unavailable
  2. function()
  3. ^~~~~~~~
  4. available-at.swift:2:6: note: 'function()' has been explicitly marked unavailable here
  5. func function() {
  6. ^
  7. (source_file
  8. (func_decl "function()" type='() -> ()' access=internal
  9. (parameter_list)
  10. (brace_stmt
  11. (call_expr type='()' location=available-at.swift:3:2 range=[available-at.swift:3:2 - line:3:14] nothrow
  12. (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)
  13. (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]
  14. (paren_expr type='Any' location=available-at.swift:3:8 range=[available-at.swift:3:7 - line:3:14]
  15. (erasure_expr implicit type='Any' location=available-at.swift:3:8 range=[available-at.swift:3:8 - line:3:8]
  16. (call_expr implicit type='String' location=available-at.swift:3:8 range=[available-at.swift:3:8 - line:3:8] nothrow
  17. (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
  18. (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)
  19. (type_expr implicit type='String.Type' location=available-at.swift:3:8 range=[available-at.swift:3:8 - line:3:8] typerepr='String'))
  20. (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"))))))))
  21. (top_level_code_decl
  22. (brace_stmt
  23. (call_expr type='()' location=available-at.swift:6:1 range=[available-at.swift:6:1 - line:6:10] nothrow
  24. (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)
  25. (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