This is a warning and I don’t think you can do anything to prevent it. But in 
this case, the copy is not really a problem.

You can replace `scanf` and the following statement by these two statements:
    
    
    let fields = line.split(' ')
    result.add((fields[0], parseInt(fields[1]))
    
    
    Run

Personally, I prefer to use enums to represent opcodes, so my code is rather:
    
    
    let fields = line.split(' ')
    result.add((parseEnum[OpCode](fields[0]), parseInt(fields[1])))
    
    
    Run

Reply via email to