You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems like a bug. Why does the interactive command line REPL put each input line into separate modules?
Welcome to Apple Swift version 4.0 (swiftlang-900.0.54.10 clang-900.0.31). Type :help for assistance.
1> open class A {}
2> class B : A {}
error: repl.swift:2:7: error: cannot inherit from non-open class 'A' outside of its defining module
class B : A {}
^
2>
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: a7fa14d4f516979ecbe2926a334f7382
Issue Description:
This seems like a bug. Why does the interactive command line REPL put each input line into separate modules?
Welcome to Apple Swift version 4.0 (swiftlang-900.0.54.10 clang-900.0.31). Type :help for assistance.
1> open class A {}
2> class B : A {}
error: repl.swift:2:7: error: cannot inherit from non-open class 'A' outside of its defining module
class B : A {}
^
2>
The text was updated successfully, but these errors were encountered: