🐞️ Bugfix: Function parameter types should use parseTypedDeclaration(onlyType=true) #111

Closed
opened 2023-04-17 15:19:57 +01:00 by deavmi · 1 comment
Owner

What is this?

Bug fix to allow proper type recognition for function's parameters.

Solution 1

Use parseTypedDeclaration(false, false, false, true), like:

TypedEntity bogusEntity = parseTypedDeclaration(false, false, false, true);
string toType = bogusEntity.getType();
## What is this? Bug fix to allow proper type recognition for function's parameters. ## Solution 1 Use `parseTypedDeclaration(false, false, false, true)`, like: ```d TypedEntity bogusEntity = parseTypedDeclaration(false, false, false, true); string toType = bogusEntity.getType(); ```
deavmi added this to the Basics milestone 2023-04-17 15:19:57 +01:00
deavmi added the
parser
label 2023-04-17 15:19:57 +01:00
deavmi self-assigned this 2023-04-17 15:19:58 +01:00
deavmi added this to the Parser project 2023-04-17 15:19:58 +01:00
deavmi changed title from Function parameter types should use parseTypedDeclaration(onlyType=true) to 🐞️ Bugfix: Function parameter types should use parseTypedDeclaration(onlyType=true) 2023-04-17 15:33:00 +01:00
deavmi added the
needsfix
label 2023-04-17 15:33:20 +01:00
deavmi added the due date 2023-04-17 2023-04-17 15:33:37 +01:00
deavmi added a new dependency 2023-04-17 15:33:51 +01:00
Author
Owner

Looks fixed, merging.

Looks fixed, merging.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

2023-04-17

Blocks
Reference: tlang/tlang#111
No description provided.