aboutsummaryrefslogtreecommitdiff
path: root/html-test/src
diff options
context:
space:
mode:
authorSebastian Meric de Bellefon <Sebastian.MericdeBellefon@tritondigital.com>2016-05-15 01:12:28 -0400
committerSebastian Meric de Bellefon <Sebastian.MericdeBellefon@tritondigital.com>2016-05-15 02:12:46 -0400
commitf6e5d57bee5a7bf5d74d26982db64fa8a56f17bd (patch)
treea47da4108c055740b195d9b38352cef51f1185b0 /html-test/src
parent26e6b39de3213969d7de7f8bb3d4a849136866d1 (diff)
Fix #280. Parsing of module header
The initial newlines were counted as indentation spaces, thus disturbing the parsing of next lines
Diffstat (limited to 'html-test/src')
-rw-r--r--html-test/src/Bug280.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/html-test/src/Bug280.hs b/html-test/src/Bug280.hs
new file mode 100644
index 00000000..ac27e2e5
--- /dev/null
+++ b/html-test/src/Bug280.hs
@@ -0,0 +1,11 @@
+{-|
+Copyright: Foo,
+ Bar,
+ Baz
+
+The module description
+-}
+-- The module header can start with newlines. They are not taken into account for the indentation level
+module Bug280 where
+
+x = ""