-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #245 from stan-dev/sem-check-invariant-test
Add check to semantic check that original AST is not modified (only decorated)
- Loading branch information
Showing
4 changed files
with
60 additions
and
36 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
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,6 +1,4 @@ | ||
(** Translate from the AST to the MIR *) | ||
|
||
val trans_prog : string -> Ast.typed_program -> Middle.typed_prog | ||
|
||
val trans_expr : | ||
Ast.typed_expr_meta Ast.expr_with -> Middle.mtype_loc_ad Middle.with_expr | ||
val trans_expr : Ast.typed_expression -> Middle.mtype_loc_ad Middle.with_expr |
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