Skip to content

Literal initializers should not be called directly. #21

@mortenbekditlevsen

Description

@mortenbekditlevsen

I found a typo in Asynchronous Programming 
with SwiftUI and Combine.

  • Edition: 1st
  • Page: 313

What is wrong

init(integerLiteral:) is part of the compiler glue to support literals in swift. The documentation states that those initializers should not be called directly.

image

What's the correct spelling

Not actually certain, but there must be some other way of achieving the same. 😊

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions