winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
5.02k stars 198 forks source link

Add compiler error types and codes #295

Closed MarkMcCulloh closed 1 year ago

MarkMcCulloh commented 2 years ago

wingc errors are currently adhoc. We should have errors for specific situations. This issue can cover some basic ones for now, with the addition that the Diagnostics system can consume these errors and any Result types use them. These errors should have info like spans, error codes, etc.

github-actions[bot] commented 1 year ago

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

github-actions[bot] commented 1 year ago

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

staycoolcall911 commented 1 year ago

Duplicates #1746