Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Selectors, Error: undeclared field: 'OSErrorCode' on macOS #11124
The following code causes an undeclared field error on macOS.
import selectors var selector: Selector[int] = newSelector[int]() var events = select(selector, 1)
Similarly to #7667, importing os at the top of the file is a workaround.
This is the output of