We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04a516b commit 4a4d1e9Copy full SHA for 4a4d1e9
lib/docurium.rb
@@ -387,11 +387,11 @@ def find_type_usage!(data)
387
data[:types].each_with_index do |tdata, i|
388
type, typeData = tdata
389
data[:types][i][1][:used] ||= {:returns => [], :needs => []}
390
- if fdata[:return][:type].index(/#{type}[ ;\)\*]/)
+ if fdata[:return][:type].index(/#{type}[ ;\)\*]?/)
391
data[:types][i][1][:used][:returns] << func
392
data[:types][i][1][:used][:returns].sort!
393
end
394
- if fdata[:argline].index(/#{type}[ ;\)\*]/)
+ if fdata[:argline].index(/#{type}[ ;\)\*]?/)
395
data[:types][i][1][:used][:needs] << func
396
data[:types][i][1][:used][:needs].sort!
397
0 commit comments