Describe the bug
When I use the command delete it is supposed to delete a task but instead it deletes a person.
I used "delete 3". Instead of task with index 3 being deleted person with index 3 got deleted. This also --> Wrong error message being displayed.
To Reproduce
Steps to reproduce the behavior:
Start the program.
Make sure there are persons
Delete a random index
Expected behavior
The task is supposed to be deleted
Describe the bug When I use the command delete it is supposed to delete a task but instead it deletes a person. I used "delete 3". Instead of task with index 3 being deleted person with index 3 got deleted. This also --> Wrong error message being displayed.
To Reproduce Steps to reproduce the behavior: Start the program. Make sure there are persons Delete a random index
Expected behavior The task is supposed to be deleted
Screenshots
Reported by: @garagaristahir Severity:
Medium
[original: nusCS2113-AY1819S1/pe-1#59]