-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding some bug context to error output messaging. (#193)
- Loading branch information
1 parent
aec634e
commit ce9fd09
Showing
10 changed files
with
225 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
286 changes: 143 additions & 143 deletions
286
pkg/convert/testdata/programs/builtin_functions/pcl/diagnostics.json
Large diffs are not rendered by default.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
pkg/convert/testdata/programs/registry_module/pcl/diagnostics.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[ | ||
"warning:/main.tf:2,19-80:Function not yet implemented:Function cidrsubnets not yet implemented", | ||
"warning:/main.tf:7,59-73:Function not yet implemented:Function tostring not yet implemented", | ||
"warning:/outputs.tf:2,17-43:Function not yet implemented:Function tomap not yet implemented" | ||
"warning:/main.tf:2,19-80:Function not yet implemented:Function cidrsubnets not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/main.tf:7,59-73:Function not yet implemented:Function tostring not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/outputs.tf:2,17-43:Function not yet implemented:Function tomap not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)" | ||
] |
6 changes: 3 additions & 3 deletions
6
pkg/convert/testdata/programs/registry_module_multiple/pcl/diagnostics.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[ | ||
"warning:/main.tf:2,19-80:Function not yet implemented:Function cidrsubnets not yet implemented", | ||
"warning:/main.tf:7,59-73:Function not yet implemented:Function tostring not yet implemented", | ||
"warning:/outputs.tf:2,17-43:Function not yet implemented:Function tomap not yet implemented" | ||
"warning:/main.tf:2,19-80:Function not yet implemented:Function cidrsubnets not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/main.tf:7,59-73:Function not yet implemented:Function tostring not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/outputs.tf:2,17-43:Function not yet implemented:Function tomap not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)" | ||
] |
56 changes: 28 additions & 28 deletions
56
pkg/convert/testdata/programs/registry_module_multiple_versions/pcl/diagnostics.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
[ | ||
"warning:/files.tf:2,20-47:Function not yet implemented:Function fileset not yet implemented", | ||
"warning:/files.tf:3,23-6,5:Function not yet implemented:Function toset not yet implemented", | ||
"warning:/files.tf:10,10-46:Function not yet implemented:Function contains not yet implemented", | ||
"warning:/files.tf:14,51-107:Function not yet implemented:Function templatefile not yet implemented", | ||
"warning:/files.tf:20,32-63:Function not yet implemented:Function keys not yet implemented", | ||
"warning:/files.tf:20,23-89:Function not yet implemented:Function setunion not yet implemented", | ||
"warning:/files.tf:23,45-73:Function not yet implemented:Function regexall not yet implemented", | ||
"warning:/files.tf:29,45-114:Function not yet implemented:Function lookup not yet implemented", | ||
"warning:/files.tf:34,16-47:Function not yet implemented:Function keys not yet implemented", | ||
"warning:/files.tf:36,24-38:Function not yet implemented:Function tostring not yet implemented", | ||
"warning:/files.tf:38,19-45,11:Function not yet implemented:Function tomap not yet implemented", | ||
"warning:/files.tf:52,24-38:Function not yet implemented:Function tostring not yet implemented", | ||
"warning:/files.tf:53,19-60,11:Function not yet implemented:Function tomap not yet implemented", | ||
"warning:/files.tf:32,11-63,4:Function not yet implemented:Function merge not yet implemented", | ||
"warning:/files.tf:2,20-47:Function not yet implemented:Function fileset not yet implemented", | ||
"warning:/files.tf:3,23-6,5:Function not yet implemented:Function toset not yet implemented", | ||
"warning:/files.tf:10,10-46:Function not yet implemented:Function contains not yet implemented", | ||
"warning:/files.tf:14,51-107:Function not yet implemented:Function templatefile not yet implemented", | ||
"warning:/files.tf:20,32-63:Function not yet implemented:Function keys not yet implemented", | ||
"warning:/files.tf:20,23-89:Function not yet implemented:Function setunion not yet implemented", | ||
"warning:/files.tf:23,45-73:Function not yet implemented:Function regexall not yet implemented", | ||
"warning:/files.tf:29,45-114:Function not yet implemented:Function lookup not yet implemented", | ||
"warning:/files.tf:34,16-47:Function not yet implemented:Function keys not yet implemented", | ||
"warning:/files.tf:36,24-38:Function not yet implemented:Function tostring not yet implemented", | ||
"warning:/files.tf:38,19-45,11:Function not yet implemented:Function tomap not yet implemented", | ||
"warning:/files.tf:52,24-38:Function not yet implemented:Function tostring not yet implemented", | ||
"warning:/files.tf:53,19-60,11:Function not yet implemented:Function tomap not yet implemented", | ||
"warning:/files.tf:32,11-63,4:Function not yet implemented:Function merge not yet implemented" | ||
"warning:/files.tf:2,20-47:Function not yet implemented:Function fileset not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:3,23-6,5:Function not yet implemented:Function toset not yet implemented, see pulumi/pulumi-converter-terraform#137", | ||
"warning:/files.tf:10,10-46:Function not yet implemented:Function contains not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:14,51-107:Function not yet implemented:Function templatefile not yet implemented, see pulumi/pulumi-converter-terraform#192", | ||
"warning:/files.tf:20,32-63:Function not yet implemented:Function keys not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:20,23-89:Function not yet implemented:Function setunion not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:23,45-73:Function not yet implemented:Function regexall not yet implemented, see pulumi/pulumi-converter-terraform#191", | ||
"warning:/files.tf:29,45-114:Function not yet implemented:Function lookup not yet implemented, see pulumi/pulumi-converter-terraform#65", | ||
"warning:/files.tf:34,16-47:Function not yet implemented:Function keys not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:36,24-38:Function not yet implemented:Function tostring not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:38,19-45,11:Function not yet implemented:Function tomap not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:52,24-38:Function not yet implemented:Function tostring not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:53,19-60,11:Function not yet implemented:Function tomap not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:32,11-63,4:Function not yet implemented:Function merge not yet implemented, see pulumi/pulumi-converter-terraform#65", | ||
"warning:/files.tf:2,20-47:Function not yet implemented:Function fileset not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:3,23-6,5:Function not yet implemented:Function toset not yet implemented, see pulumi/pulumi-converter-terraform#137", | ||
"warning:/files.tf:10,10-46:Function not yet implemented:Function contains not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:14,51-107:Function not yet implemented:Function templatefile not yet implemented, see pulumi/pulumi-converter-terraform#192", | ||
"warning:/files.tf:20,32-63:Function not yet implemented:Function keys not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:20,23-89:Function not yet implemented:Function setunion not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:23,45-73:Function not yet implemented:Function regexall not yet implemented, see pulumi/pulumi-converter-terraform#191", | ||
"warning:/files.tf:29,45-114:Function not yet implemented:Function lookup not yet implemented, see pulumi/pulumi-converter-terraform#65", | ||
"warning:/files.tf:34,16-47:Function not yet implemented:Function keys not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:36,24-38:Function not yet implemented:Function tostring not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:38,19-45,11:Function not yet implemented:Function tomap not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:52,24-38:Function not yet implemented:Function tostring not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:53,19-60,11:Function not yet implemented:Function tomap not yet implemented, see pulumi/pulumi-converter-terraform#65 (catch all bug)", | ||
"warning:/files.tf:32,11-63,4:Function not yet implemented:Function merge not yet implemented, see pulumi/pulumi-converter-terraform#65" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters