Skip to content

Incorrect inference when including a positional modifier #571

@pokey

Description

@pokey

In the following typescript code:

function foo() {
  return "|";
}

function bar() {
  return "";
}

Saying "bring bat before funk" results in the following code:

function foo() {
    return "|";
}


bar function bar() {
    return "";
}

This behavior is inconsistent with the way it would work if we said "bring bat to funk", which would result in the following:

bar;

function bar() {
  return "";
}

The analogous behavior for "bring bat before funk"would be:

bar function foo() {
    return "";
}


function bar() {
    return "";
}

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions