solargraph 0.5.4 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd8da15d1c0d25c8c95d4da12a4cba4c4b312ed0
4
- data.tar.gz: 0cb4e3d5705c8b6339db2b2d144748068aec4d96
3
+ metadata.gz: 21f02d0452d23441efaec01059cb1ffe5acc68ab
4
+ data.tar.gz: ead5d212fc3df6ffa82ad23e3383da16dcb070d3
5
5
  SHA512:
6
- metadata.gz: 0e785fbea311d6778f7452897fdacb3cd9d7a5e5038db0bc12c3d30e51bf0f99d816f73308e7b379c856e6a8f434a6bc402f6786e849b7dfd93c745e5454f2f5
7
- data.tar.gz: d24ac0e448bc7796cf8c92f63727699a3ea8c5cb1f0de50069f787de68ec9b0576fa2362666c1a74d2a82d6f5437e8d9dc04f6ccb66978c632ff376eb380dd96
6
+ metadata.gz: cae96d0292a7b26ea4abfd86493736200ad762124ddd2307c2c10b9b04c296b823143ce30acae69d1cc89a46832e35e74ab2ce1efb58de97c369beb263cd9f70
7
+ data.tar.gz: cb701ce9b87dc10528a9e80d8cc2db51aa6700361755580af72d63acc37ff0a5d7b5986868950696ce09cf2fb37305245204132938165bf34e485adeeed12b63
@@ -38,10 +38,12 @@ module Solargraph
38
38
  end
39
39
  else
40
40
  o = code_object.tag(:overload)
41
- unless o.nil?
41
+ if o.nil?
42
+ r = code_object.tag(:return)
43
+ else
42
44
  r = o.tag(:return)
43
- return r.types[0] unless r.nil?
44
45
  end
46
+ return r.types[0] unless r.nil?
45
47
  end
46
48
  nil
47
49
  end
@@ -1,3 +1,3 @@
1
1
  module Solargraph
2
- VERSION = '0.5.4'
2
+ VERSION = '0.5.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solargraph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Snyder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-20 00:00:00.000000000 Z
11
+ date: 2017-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parser