Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isOptional doesn't work #29

Closed
GoogleCodeExporter opened this issue Jul 21, 2015 · 3 comments
Closed

isOptional doesn't work #29

GoogleCodeExporter opened this issue Jul 21, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

The same example from the Wiki pages:

/** * Change the role of the employee.
 * @param {integer} employeeId The id of the employee.
 * @param {string} [newRole] The new role of the employee.
 */

function recast(employeeId, newRole) {}

What is the expected output? What do you see instead?

newRole parameter should be optional, instead there is no isOptional 
attribute in the xml

What version of the product are you using? On what operating system?
1.2.1

Please provide any additional information below.


Original issue reported on code.google.com by herz...@gmail.com on 29 Aug 2007 at 8:59

@GoogleCodeExporter
Copy link
Author

I can't reproduce this in version 1.3.0. I get the expected...

<params>
  <param>
    <type>integer</type>
    <name>employeeId</name>
    <desc>The id of the employee.</desc>
    <optional>false</optional>
  </param>
  <param>
    <type>string</type>
    <name>newRole</name>
    <desc>The new role of the employee.</desc>
    <optional>true</optional>
  </param>
</params>

Can you send me more information (email me directly if necessary): the source 
file,
the exact output, the exact commandline you are using?

Original comment by micmath on 29 Aug 2007 at 11:02

  • Changed state: MoreInfoRequired

@GoogleCodeExporter
Copy link
Author

I'm sorry, just found my bug in the template file ...

Original comment by herz...@gmail.com on 30 Aug 2007 at 8:30

@GoogleCodeExporter
Copy link
Author

Original comment by micmath on 4 Sep 2007 at 8:43

  • Changed state: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant