mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
Capture import params location for better errors
This commit is contained in:
parent
f0fe0a3ea6
commit
90c7745989
6 changed files with 24 additions and 16 deletions
|
@ -44,7 +44,7 @@ Defs {
|
|||
params: Some(
|
||||
ModuleImportParams {
|
||||
before: [],
|
||||
params: [
|
||||
params: @15-29 [
|
||||
@17-21 LabelOnly(
|
||||
@17-21 "echo",
|
||||
),
|
||||
|
@ -70,7 +70,7 @@ Defs {
|
|||
params: Some(
|
||||
ModuleImportParams {
|
||||
before: [],
|
||||
params: [
|
||||
params: @42-60 [
|
||||
@44-48 LabelOnly(
|
||||
@44-48 "echo",
|
||||
),
|
||||
|
@ -101,7 +101,7 @@ Defs {
|
|||
params: Some(
|
||||
ModuleImportParams {
|
||||
before: [],
|
||||
params: [
|
||||
params: @73-91 [
|
||||
@75-79 LabelOnly(
|
||||
@75-79 "echo",
|
||||
),
|
||||
|
@ -143,7 +143,7 @@ Defs {
|
|||
params: Some(
|
||||
ModuleImportParams {
|
||||
before: [],
|
||||
params: [
|
||||
params: @109-123 [
|
||||
@111-115 LabelOnly(
|
||||
@111-115 "echo",
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue