We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 299cb3b + efef5dd commit 6abd4bdCopy full SHA for 6abd4bd
src/type_inf.jl
@@ -109,7 +109,7 @@ end
109
110
function infer_destructuring_type(binding, rb::SymbolServer.DataTypeStore)
111
assigned_name = CSTParser.get_name(binding.val)
112
- for (fieldname, fieldtype) in zip(rb.val.fieldnames, rb.val.types)
+ for (fieldname, fieldtype) in zip(rb.fieldnames, rb.types)
113
if fieldname == assigned_name
114
settype!(binding, fieldtype)
115
return
0 commit comments