Skip to content

Commit

Permalink
Compiler (unit tests)
Browse files Browse the repository at this point in the history
- Documented unit test
  • Loading branch information
deavmi committed Aug 27, 2023
1 parent a2fa809 commit 88d25e2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion source/tlang/compiler/core.d
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,15 @@ unittest

import misc.exceptions;

// FIXME: Problem is now, if we fail we never get to clear that module state
/**
* Tests the following pipeline:
*
* 1. lexing -> parsing -> typecheck/codegen -> emit (DGen)
*
* Kinds of tests:
*
* 1. Negative tests (must fail)
*/
unittest
{
// TODO: Be specific about the catches maybe
Expand Down

0 comments on commit 88d25e2

Please sign in to comment.