-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
$compile_error should locate the actual location of the error #24575
Copy link
Copy link
Closed
Labels
BugThis tag is applied to issues which reports bugs.This tag is applied to issues which reports bugs.Feature/Enhancement RequestThis issue is made to request a feature or an enhancement to an existing one.This issue is made to request a feature or an enhancement to an existing one.Unit: CheckerBugs/feature requests, that are related to the type checker.Bugs/feature requests, that are related to the type checker.
Description
Metadata
Metadata
Assignees
Labels
BugThis tag is applied to issues which reports bugs.This tag is applied to issues which reports bugs.Feature/Enhancement RequestThis issue is made to request a feature or an enhancement to an existing one.This issue is made to request a feature or an enhancement to an existing one.Unit: CheckerBugs/feature requests, that are related to the type checker.Bugs/feature requests, that are related to the type checker.
Type
Fields
Give feedbackNo fields configured for Bug.
Describe the bug
Currently ,
$compile_error()will point to where it is called, not the real location of error.Reproduction Steps
compile_error.v
Expected Behavior
something like this:
Current Behavior
Possible Solution
No response
Additional Information/Context
Found be PR #24573
V version
V 0.4.10 ed7a8a3.52c7130
Environment details (OS name and version, etc.)
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.