nus-cs2113-AY2425S1 / pe-dev-response

0 stars 0 forks source link

When writing a task (deadline todo), it does not recongise when the task name is same as type #220

Open nus-pe-bot opened 1 week ago

nus-pe-bot commented 1 week ago

Steps to recreate:

Expected output: New task added: [T][ ] todo [urgent]

Actual: Screenshot 2024-11-15 162842.png


[original: nus-cs2113-AY2425S1/pe-interim#381] [original labels: severity.Low type.FunctionalityBug]

NCF3535 commented 1 week ago

Team's Response

Thank you for the report.

This is not a bug, as this is how the code should work.

The keyword ### todo should not be used as the task name, as it is a keyword. Therefore, the task will not be added. However, we could have added it into the UG that a repeated keyword will yield an invalid command.

Duplicate status (if any):

--