summaryrefslogtreecommitdiff
path: root/Data/Libraries/LDoc/tests/annot/annot.lua
blob: 7ebc27874ea36bba7c87e1ff3e310c2cdd1ede1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
----------------
-- Testing annotations
-- @module annot

--- first fun.
function first()
   if boo then
      local bar = do_something()
      if bar then
      ---  @fixme otherwise do what?
      end
   end
end

--- second try.
function second()
   --- @todo also handle foo case
   if bar then

   end
end