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.

Tasty hardening: Tasty with missing fields in classes isn't detected early enough

See original GitHub issue

I keep getting, even on master, this failure on local runs:

> testOnly dotty.tools.dotc.FromTastyTests
[info] Cleaning the dotty-sbt-bridge cache
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0
[info] No tests to run for dotty-interfaces/test:testOnly
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0
[info] No tests to run for dotty-library/test:testOnly
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0
[info] No tests to run for dotty/test:testOnly
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
[info] Test run started
[info] Test dotty.tools.dotc.FromTastyTests.runTestFromTasty started
[=======================================] completed (944/944, 67s)
[=======================================] completed (898/898, 40s)  s)
[=======================================] completed (1/1, 0s)
[info] Test dotty.tools.dotc.FromTastyTests.posTestFromTasty started
[=======================================] completed (1466/1466, 71s)
undefined: B2.t.f # 6948988: TermRef(TermRef(ThisType(TypeRef(ThisType(TypeRef(ThisType(TypeRef(NoPrefix,module class <root>)),module class <empty>)),module class B2$)),module t),f) at frontend
[=======================================] completed (1362/1362, 33s)
[error] Test dotty.tools.dotc.FromTastyTests.posTestFromTasty failed: java.lang.AssertionError: Expected no errors when compiling, failed for the following reason(s):
[error]
[error]   - encountered 1 error(s), took 104.822 sec
[error]     at dotty.tools.vulpix.ParallelTesting$CompilationTest.checkCompile(ParallelTesting.scala:958)
[error]     at dotty.tools.dotc.FromTastyTests.posTestFromTasty(FromTastyTests.scala:68)
[error]     ...

================================================================================
Test Report
================================================================================

4 passed, 1 failed, 5 total
    tests/pos/overloaded_ho_fun.scala failed


--------------------------------------------------------------------------------
Note - reproduction instructions have been dumped to log file:
    /Users/pgiarrusso/git/dotty/testlogs/tests-2018-04-05/tests-2018-04-05-T21-27-32.log
--------------------------------------------------------------------------------
[info] Test run finished: 1 failed, 0 ignored, 2 total, 214.307s
[error] Failed: Total 2, Failed 1, Errors 0, Passed 1
[error] Failed tests:
[error] 	dotty.tools.dotc.FromTastyTests
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0
[info] No tests to run for dotty-sbt-bridge/test:testOnly
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0
[info] No tests to run for dotty-doc/test:testOnly
[error] (dotty-compiler/test:testOnly) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 218 s, completed Apr 5, 2018 9:31:08 PM

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
OlivierBlanvillaincommented, Feb 6, 2019

I’m gonna close this for now since it doesn’t seam to be reproducible

0reactions
Blaisorbladecommented, Apr 6, 2018

So I was screwing up a bit (sorry about that), and #4257 was relevant, but I’ll look closer — I think some hardening might be warranted.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Delicious Dish - Triad New Home Guide
And thus the Spaniards had the island again free tothemselves, their fright was over, and they saw no savages forseveral years after. They...
Read more >
How To Make Perfect English Toffee Every Time (Video)
It will start dissolving the toffee left inside and make it easier to clean. Let cool. It should harden within a couple of...
Read more >
The Rape of Lucrece Shakescleare Translation - LitCharts
When they found Lucrece wearing mourning clothes, they demanded to know why she was ... He thought she tasted good at first, but...
Read more >
THE ODYSSEY - Boyle County Schools
Great Odysseus who excels all men in wisdom, excels in offerings too he gives the immortal gods who rule the vaulting skies? No,...
Read more >
10 Tricks for Growing Tons of Tomatoes!
Tips to avoid common pitfalls when caring for tomato plants, including a few secrets for boosting your tomato nutrition for a bigger harvest!...
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