question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Regression on scope tracking

See original GitHub issue

I believe the changes in #450 caused a regression on tracking the scope of block params:

my-app/pods/components/application-nav/template.hbs
  3:4  error  'menu' is defined but never used  no-unused-block-params

Here is a reproduction.

<BurgerMenu as |burger|>
  <burger.menu as |menu|>
    <header>
      Something
    </header>

    <menu.item>
      {{#link-to 'finder.bonds'}}
        {{fa-icon 'university'}} <span>Issuances</span>
      {{/link-to}}
    </menu.item>
  </burger.menu>

  <burger.outlet>
    {{yield (hash state=burger.state)}}
  </burger.outlet>
</BurgerMenu>

Note, the same regression happens if I call the components using curry braces.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
rwjbluecommented, Jul 24, 2018

@Serabe - Thank you for digging in, your findings were very helpful in tracking it down.

#452 now includes a fix…

1reaction
rwjbluecommented, Jul 12, 2018

@josemarluedke - Would you mind putting up a failing test PR (with tests for both angle bracket invocation and curly)?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Regression Testing and Scope - Value Transformation
There are many factors that go into determining the scope of regression testing.
Read more >
Regression Testing in Agile: Concepts, Challenges ... - Sealights
Some regression testing tools integrate with error tracking tools. This allows you to see rich information about what happened during a regression test...
Read more >
What is Regression Testing? Definition, Tools, Method, and ...
Regression testing is a type of testing that is done to verify that ... If test cases vary from time to time, the...
Read more >
Plan your regression testing strategy by asking th...
This is why coverage is hard to track during regression testing. Use a test management tool that enables you to track coverage and...
Read more >
Why Regression Defects Are Important For Your Next Release?
How you can discover and handle regression defects for a successful release. ... Monitoring the test data and other metrics.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found