Swift compile Error , anybody help ?


  • 0
    E

    Simple Code

    class Solution {
        func updateBoard(_ board: [[Character]], _ click: [Int]) -> [[Character]] {
            return [[Character]]();
        }
    }
    

    And error message :

    Line 72: cannot convert value of type 'UnsafeMutablePointer<Int32>' to expected argument type 'Int32'
    

Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.