Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

ExDoc is wrong arity for function called in 'pipeline' #158

Closed
5 of 8 tasks
kenny-evitt opened this issue Aug 7, 2019 · 3 comments
Closed
5 of 8 tasks

ExDoc is wrong arity for function called in 'pipeline' #158

kenny-evitt opened this issue Aug 7, 2019 · 3 comments

Comments

@kenny-evitt
Copy link

Questions:

  1. Elixir/OTP/Python version

Elixir: 1.8.0

OTP: 21.2.3

Python: python --version reports Python 2.7.16

  1. Are you using VIM or Neovim? Please provide the version.

I'm using VimR 0.27.5 (327) which uses Neovim. The output of the :version command:

NVIM v0.3.8
Build type: Release
LuaJIT 2.0.5
Compilation: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -mmacosx-version-min=10.13 -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -I/Users/hat/.jenkins/workspace/vimr_build/NvimView/neovim/build/config -I/Users/hat/.jenkins/workspace/vimr_build/NvimView/neovim/src -I/Users/hat/.jenkins/workspace/vimr_build/NvimView/neovim/.deps/usr/include -I/Users/hat/.jenkins/workspace/vimr_build/NvimView/third-party/libintl/include -I/usr/include -I/Users/hat/.jenkins/workspace/vimr_build/NvimView/neovim/build/src/nvim/auto -I/Users/hat/.jenkins/workspace/vimr_build/NvimView/neovim/build/include
Compiled by hat@iota.fritz.box

Features: +acl +iconv +jemalloc -tui 
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/share/nvim"

Run :checkhealth for more info
  1. Which pluging are you using:
  • basic omnifunc
  • YouCompleteMe
  • deoplete
  1. Which steps of Debugging passed?
  • Elixir Module definition
  • Elixir Function definition
  • Elixir Module/Function docs
  • Your Project Module definition
  • Your Project Function definition
  1. Do you have a specific setup? Like Docker and etc

I don't think so.

Problem

Given code like this:

some_enum
|> Enum.reduce(acc, fn e, acc -> ... end)

If I use the ExDoc shortcut on reduce I get the Enum.reduce/2 docs instead of the Enum.reduce/3 docs.

I'm guessing this might be an upstream issue, i.e. for ElixirSense itself. If that's the case, I'll open an issue for its project too.

@slashmili
Copy link
Owner

@kenny-evitt Yes it's coming fromElixirSense

@kenny-evitt
Copy link
Author

I opened an issue for this in the ElixirSense GitHub project. [See the link above automatically added by GitHub.]

@slashmili
Copy link
Owner

Thanks, I close the ticket here for now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants