Dottydoc crashes when upgrading liqp to 0.7.2
See original GitHub issueDottydoc currently uses liqp 0.6.7, when upgrading to 0.7.2 (see branch https://github.com/dotty-staging/dotty/commits/upgrade/liqp-0.7.2) and running genDocs
we get:
java.lang.ArrayIndexOutOfBoundsException: 1
at scala.collection.mutable.WrappedArray$ofRef.apply(WrappedArray.scala:130)
at dotty.tools.dottydoc.staticsite.tags$RenderTitle.render(tags.scala:189)
at dotty.tools.dottydoc.staticsite.tags$RenderTitle.render(tags.scala:166)
at liqp.nodes.TagNode.render(TagNode.java:32)
at liqp.tags.For.renderArray(For.java:112)
at liqp.tags.For.render(For.java:56)
at liqp.nodes.TagNode.render(TagNode.java:32)
at liqp.nodes.BlockNode.render(BlockNode.java:38)
at liqp.Template$1.call(Template.java:266)
... 5 more
The crash happens here: https://github.com/lampepfl/dotty/blob/517ba8cbd7c4c0cd5058a4dd1bdfce2c0fe441cf/doc-tool/src/dotty/tools/dottydoc/staticsite/tags.scala#L189 maybe @felixmulder can give some context on what this does? 😃
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Fix Crashes & Freezing | Warzone 2 Guide | Simple | Easy Fixes
While it's impossible to cover EVERYTHING, this video puts together some of the simplest and most common fixes to crashing and freezing for ......
Read more >latte-dock crashes after upgrade to Plasma 5.11.4
today a new update was installed. After upgrade it was impossible to launch Latte Settings. It crashed every time. Deleting files in ~/.cache/ ......
Read more >Freezing and crashing issues after macOS Ventura upgrade
Go to System Preferences > Software Update. These updates might fix the crash issues. Ensure all your installed apps are updated. Mac A...
Read more >[0.64] Crashes on app launch · Issue #31269 - GitHub
Our app is currently crashing selectively on RN 0.63.4, but after upgrade to RN 0.64, it crashes everytime on app launch.
Read more >Console crashes after you upgrade to Configuration Manager ...
The Configuration Manager console crashes after you update to Configuration Manager current branch, version 2107.
Read more >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
True: it’s the specs of Liquid that say all parameters to tags are to be treated as a single string. Me implementing them as expressions was wrong.
No need to parse it; evaluating is all that’s needed. I posted a possible workaround how to evaluate the string/expression
member.alias
: https://github.com/bkiers/Liqp/issues/70The new scaladoc still uses liqp and it’s still an old version so I’d say yes: https://github.com/lampepfl/dotty/blob/3d85473ee9706b00882f2a1419575b8f0d88487e/project/Build.scala#L1486 /cc @romanowski