mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[ez] Fix comments to be star blocks
ghstack-source-id: 6a9e844a3ba548d3bf2b7373dc023ad42c2e719b Pull Request resolved: https://github.com/facebook/react-forget/pull/2826
This commit is contained in:
@@ -9,17 +9,29 @@ import type { SourceLocation } from "./HIR";
|
||||
import { assertExhaustive } from "./Utils/utils";
|
||||
|
||||
export enum ErrorSeverity {
|
||||
// Invalid JS syntax, or valid syntax that is semantically invalid which may indicate some misunderstanding on the user’s part.
|
||||
/**
|
||||
* Invalid JS syntax, or valid syntax that is semantically invalid which may indicate some
|
||||
* misunderstanding on the user’s part.
|
||||
*/
|
||||
InvalidJS = "InvalidJS",
|
||||
// Code that breaks the rules of React.
|
||||
/**
|
||||
* Code that breaks the rules of React.
|
||||
*/
|
||||
InvalidReact = "InvalidReact",
|
||||
// Incorrect configuration of the compiler.
|
||||
/**
|
||||
* Incorrect configuration of the compiler.
|
||||
*/
|
||||
InvalidConfig = "InvalidConfig",
|
||||
// Code that can reasonably occur and that doesn't break any rules, but is unsafe to perserve memoization.
|
||||
/**
|
||||
* Code that can reasonably occur and that doesn't break any rules, but is unsafe to perserve
|
||||
* memoization.
|
||||
*/
|
||||
CannotPreserveMemoization = "CannotPreserveMemoization",
|
||||
// Unhandled syntax that we don't support yet.
|
||||
/**
|
||||
* Unhandled syntax that we don't support yet.
|
||||
*/
|
||||
Todo = "Todo",
|
||||
/*
|
||||
/**
|
||||
* An unexpected internal error in the compiler that indicates critical issues that can panic
|
||||
* the compiler.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user