Comments (3)
The problem happens in line 354 of calendar.erl
from R15 where the macro SECONDS_PER_DAY
is used inside a -type
:
-type secs_per_day() :: 0..?SECONDS_PER_DAY.
The things is I do not know how to get the value of that macro yet. I suppose that with some of the parse tools the OTP comes, should be possible to get the value of the macro definition:
-define(SECONDS_PER_DAY, 86400).
from vimerl.
Thank you for such quick reply. Indeed, you are right. I temporary replaced macro with the value at the specified line and erlang_complete.erl script works now with calendar module.
Thank you. This is a great project and I like it very much.
from vimerl.
Well, I found out that this is another limitation of EDoc to handle all possible Erlang syntax constructs. I'll catch that error and switch to Module:module_info/1. We lose the EDoc rich info but this bug should be fixed.
I reported the bug to the OTP team: http://erlang.org/pipermail/erlang-bugs/2012-March/002800.html.
from vimerl.
Related Issues (20)
- could we use the space to instead of tab in configuration file? HOT 2
- How to indent? HOT 1
- Provide installation instructions for vim/pathogen novices HOT 1
- Error with gVim on Windows HOT 3
- syntax checking does not work in macros HOT 15
- Vim on mac freezes when quitting file HOT 2
- code formatter for vimerl HOT 1
- Omni-completion with YCM HOT 2
- Unknown option: not env: encrypt: No such file or directory HOT 1
- parameterized modules are no longer support for ChicagoBoss HOT 5
- Error in SetErlangOptions Unknown option not HOT 1
- VIM error Error detected while processing function <SNR>65_SetErlangOptions: HOT 2
- New deps enumeraiton logic breaks `include_lib` for files from deps directory. HOT 4
- autoident off option HOT 1
- Differences between this and vim-erlang HOT 2
- vimerl + YCM, The autocomplete menu closes on first letter for Erlang
- Error when loading .erl files
- Vim freezes when typing closing parenthesis in -export. HOT 2
- A fold bug
- Why not to make vimerl compile a erlang file when :w
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vimerl.