summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--puzzles/20_literal_eval_expr.py3
-rw-r--r--puzzles/21_literal_enum_name.py (renamed from puzzles/20_enum_in_literal.py)0
2 files changed, 3 insertions, 0 deletions
diff --git a/puzzles/20_literal_eval_expr.py b/puzzles/20_literal_eval_expr.py
new file mode 100644
index 0000000..dce14aa
--- /dev/null
+++ b/puzzles/20_literal_eval_expr.py
@@ -0,0 +1,3 @@
+from typing import Literal
+
+x: Literal[3] = 1 + 2
diff --git a/puzzles/20_enum_in_literal.py b/puzzles/21_literal_enum_name.py
index a743168..a743168 100644
--- a/puzzles/20_enum_in_literal.py
+++ b/puzzles/21_literal_enum_name.py