branch: elpa/d-mode
commit 2529eb22354b074a70825112b0f010b0997db152
Author: Vladimir Panteleev <[email protected]>
Commit: Vladimir Panteleev <[email protected]>
Add a TODO
---
tests-todo/templated_enum.d | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/tests-todo/templated_enum.d b/tests-todo/templated_enum.d
new file mode 100644
index 0000000..a340d0d
--- /dev/null
+++ b/tests-todo/templated_enum.d
@@ -0,0 +1,11 @@
+/*
+ The symbol here is mis-fontified as a function. The reason for this
+ is that c-forward-decl-or-cast-1 understands the statement as not
+ containing types, and then passes this information to
+ c-font-lock-declarators. We can't get away with merely patching
+ c-font-lock-declarators because at the moment it's called, it
+ doesn't have enough information to know that it's actually dealing
+ with an enum.
+ */
+
+enum bool isForwardRange(R) = 1;