willcrichton/flowistry

Static methods aren't selectable

willcrichton opened this issue · 0 comments

Example:

fn foo() {
  let x = String::new();
  let y = x;
  
  let x = 1;
  let y = x;
}

You can't select String::new(), but you can select 1 to ask for a slice of these values. This is probably an issue with span_to_places.