Code insight in Fire suggests wrong label compared to actual compiler

I am experiencing an issue with the Code Insight within in Fire were it suggests the withFocus-label but the Elements compiler expects focus. See the screenshot of Code Insight within Fire.

If I try to use self.initiateUserNamePassword(withFocus: nil) I am getting the following compiler error:

E:                   Parameter labels do not match. Parameter 1 is labeled "withFocus" but should should be "focus" in call to "func initiateUserNamePassword(withFocus focus: UITextField?)" [/Users/x/Desktop/Bug/CodeInsight/App22/RootViewController.swift (12)]

I am not sure if this a Fire Code Insight glitch or a bug in the Elements compiler


import UIKit

@IBObject class RootViewController : UIViewController {

    public override func viewDidLoad() {

        // Do any additional setup after loading the view.
    public override func viewWillAppear(_ animated: BOOL) {
        self.initiateUserNamePassword(withFocus: nil)
    public func initiateUserNamePassword(withFocus focus: UITextField? = nil) {

    public override func didReceiveMemoryWarning() {

        // Dispose of any resources that can be recreated.


Thanks, logged as bugs://82476

1 Like

bugs://82476 got closed with status fixed.