rayex

rayex

For hex package islands_score the source @spec for function format/2 is as such:

@spec format(t, keyword) :: :ok

Why does it show on 4 lines in the ExDoc html documentation:


A few ExDoc versions ago it appeared on a single line as expected:
image

Showing Posts 1 to 2

adamu

adamu

That’s weird. Seems to be something funny going on with keyword(). Changing it to [{atom(), atom()}] or Keyword.t() puts it back on one line.

rayex

rayex OP

I opened an ex_doc issue and it will be fixed in a future (hopefully next) version:
Closed #2245 as completed via a806765.
[Solved]

— All posts loaded —

Where Next? Top

Trending in Troubleshooting Top

edvardo1
Hello, I’ve found an interesting non-backwards-compatible change in Elixir 1.20. For context: There exists a project called PolyHok, whi...
New
andrewf
I’m using Postgrex in a Phoenix app to connect to Postgres. The database for my dev instance is in a local VM, with hostname jot.local. M...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews