Provide meaningful symbols for lambdas #425

Open
opened 2022-11-06 00:05:52 +09:00 by zxq9 · 0 comments
zxq9 commented 2022-11-06 00:05:52 +09:00 (Migrated from gitlab.com)

Created by: radrow

Currently lambdas do not receive any names in the symbols field of the generated code. While this does not matter for normal development, it can be useful to identify them while in debug mode.

Proposal: fun#$(ParentFunName)#$(LineNumber)#$(ColumnNumber), eg

namespace Ns =
  function funkcja() = () => ()

would give the lambda the name fun#.Ns.funkcja#2#23

*Created by: radrow* Currently lambdas do not receive any names in the `symbols` field of the generated code. While this does not matter for normal development, it can be useful to identify them while in debug mode. Proposal: `fun#$(ParentFunName)#$(LineNumber)#$(ColumnNumber)`, eg ``` namespace Ns = function funkcja() = () => () ``` would give the lambda the name `fun#.Ns.funkcja#2#23`
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: QPQ-AG/sophia#425
No description provided.