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.

`MarkdownLinkVisitor` mismatch on member named `md`

See original GitHub issue

In MarkdownLinkVisitor.scala we do two things:

  1. Replace relative/path/to/markdown.md with relative/path/to/markdown.html
  2. Member lookup on [isEmpty](scala.collection.immutable.Seq.isEmpty)

The first one is simply caught with .endsWith(".md"), which means you cannot call a package member md.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
felixmuldercommented, May 23, 2017

well the last line produces a function from Context => Boolean, where the Context is marked implicit, but the function is not applied.

The function which contains this code should take a second parameter list (implicit ctx: Context)

1reaction
felixmuldercommented, May 22, 2017

You won’t know via reflection, as there is no loading of the compiled sources into the classloaders. You could do:

ctx.getClassIfDefined(str).exists

To see if the class exists in the current compilation unit or on the classpath.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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