`MarkdownLinkVisitor` mismatch on member named `md`
See original GitHub issueIn MarkdownLinkVisitor.scala we do two things:
- Replace
relative/path/to/markdown.md
withrelative/path/to/markdown.html
- 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:
- Created 7 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
well the last line produces a function from
Context => Boolean
, where theContext
is marked implicit, but the function is not applied.The function which contains this code should take a second parameter list
(implicit ctx: Context)
You won’t know via reflection, as there is no loading of the compiled sources into the classloaders. You could do:
To see if the class exists in the current compilation unit or on the classpath.