8000 Fix Xcode 10 warning by spekke · Pull Request #821 · Quick/Quick · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix Xcode 10 warning #821

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 13, 2018
Merged

Fix Xcode 10 warning #821

merged 1 commit into from
Oct 13, 2018

Conversation

spekke
Copy link
Contributor
@spekke spekke commented Sep 27, 2018

This PR will suppress the following warning:

Pods/Quick/Sources/Quick/Behavior.swift#L7: static declarations are implicitly ‘final’; use ‘public’ instead of ‘open’ 
open static var name: String { return String(describing: self) }

@QuickBot
Copy link
1 Warning
⚠️ Need to add an unit test if you’re modifying swift source

Generated by 🚫 danger

@@ -4,7 +4,7 @@

open class Behavior<Context> {

open static var name: String { return String(describing: self) }
public static var name: String { return String(describing: self) }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me 👍

But there is another possibility that open class var is the original intent. How do you think @Quick/core?

@wongzigii
Copy link
Member

I am good with this.

@wongzigii wongzigii merged commit 59e5dd8 into Quick:master Oct 13, 2018
@wongzigii
Copy link
Member

Fix #823

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0