Menu

#47 False docBlock error when using empty return in a method

Fixed
nobody
None
Medium
Defect
2013-02-20
2013-02-16
Anonymous
No

Originally created by: istvan.m...@gmail.com

What steps will reproduce the problem?
1. Create a function that has an empty return in it, e.g

if (...) {
return;
}

2. Create a docblock for the function with no @returns part

What is the expected output? What do you see instead?
I expect no errors, but I get an error stating I should include @returns in the docBlock

What version of the product are you using? On what operating system?
0.11.0, mac osx 10.8.2

Please provide any additional information below.

Related

Wiki: History

Discussion

  • Anonymous

    Anonymous - 2013-02-18

    Originally posted by: tch...@hotmail.com

    (No comment was entered for this change.)

    Status: Accepted

     
  • Anonymous

    Anonymous - 2013-02-20

    Originally posted by: tch...@hotmail.com

    (No comment was entered for this change.)

    Status: Fixed

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.