You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error detected while processing function merlin#TypeOf:
line 4:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/x/.esy/3______________________________________________________________/i/opam__s__merlin-opam__c__3.3.4-9cf3482f/share/merlin/vim/autoload/merlin.py", line
627, in vim_type_enclosing
track_verbosity=True
File "/Users/x/.esy/3______________________________________________________________/i/opam__s__merlin-opam__c__3.3.4-9cf3482f/share/merlin/vim/autoload/merlin.py", line
173, in command2
result = json.loads(merlin_exec(cmdline,input=content))
File "/Users/x/.esy/3______________________________________________________________/i/opam__s__merlin-opam__c__3.3.4-9cf3482f/share/merlin/vim/autoload/merlin.py", line
137, in merlin_exec
(response, errors) = process.communicate(input=input)
File "/usr/local/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 964, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "/usr/local/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 1755, in _communicate
self.stdout.errors)
File "/usr/local/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 841, in _translate_newlines
data = data.decode(encoding, errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x84 in position 161: invalid start byte
line 5:
E121: Undefined variable: l:type
E116: Invalid arguments for function <SNR>167_ShowTypeEnclosing
Other information
All of the other Merlin features seem to work fine, go-to-location, autocomplete, etc.
Running :MerlinTypeOf works fine for other values in the same file, just not A.make.
In some modules in another project, running :MerlinTypeOf in any value inside a component function doesn't work. However I can't figure out the exact steps to reproduce that.
I'm still figuring out my Vim+Reason configuration, so I hope this isn't a user error. I'm happy to provide more information if necessary.
The text was updated successfully, but these errors were encountered:
I just set this up with VimBox, and it seems to be working well except for
:MerlinTypeOf
.Steps to reproduce
I'm not sure exactly how to reproduce, since occasionally
:MerlinTypeOf
works, but these steps seem to work.bsb -init bs-sample -theme react-starter cd bs-sample npm i
Create an esy.json
esy install esy mvim . npm run start
src/App.re
:Hover over
make
and type:MerlinTypeOf
.The output
Other information
All of the other Merlin features seem to work fine, go-to-location, autocomplete, etc.
Running
:MerlinTypeOf
works fine for other values in the same file, just notA.make
.In some modules in another project, running
:MerlinTypeOf
in any value inside a component function doesn't work. However I can't figure out the exact steps to reproduce that.I'm still figuring out my Vim+Reason configuration, so I hope this isn't a user error. I'm happy to provide more information if necessary.
The text was updated successfully, but these errors were encountered: