Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign the compiler context to handle compiler crashes #36231

Closed
azinneera opened this issue May 20, 2022 · 1 comment
Closed

Redesign the compiler context to handle compiler crashes #36231

azinneera opened this issue May 20, 2022 · 1 comment
Assignees
Labels
Area/ProjectAPI Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Type/Improvement

Comments

@azinneera
Copy link
Contributor

azinneera commented May 20, 2022

Description:
$subject

Related Issue: #35158

@azinneera azinneera moved this to BuildTools(ProjectAPI/Testerina) in Swan Lake Update 2 May 20, 2022
@azinneera azinneera added Area/ProjectAPI Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) labels May 20, 2022
@azinneera azinneera changed the title Redesign the compiler context to reduce compiler crashes Redesign the compiler context to handle compiler crashes May 31, 2022
@azinneera
Copy link
Contributor Author

We discussed and agreed that the project API will create a new CompilerContext when a compiler crash occurs. The reason is that there will be invalid symbols in the current caches held in the CompilerContext and the safest approach would be to discard the entire CompilerContext

@Ibaqu Ibaqu closed this as completed Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/ProjectAPI Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Type/Improvement
Projects
No open projects
Status: BuildTools(ProjectAPI/Testerina)
Development

No branches or pull requests

2 participants