Merge branch 'devel' into araq

This commit is contained in:
Andreas Rumpf 2017-04-04 13:38:41 +02:00
commit bfaa329680
4 changed files with 22 additions and 5 deletions

View file

@ -0,0 +1,18 @@
discard """
output: '''ok'''
"""
# bug #5638
type X = object
a_impl: int
proc a(x: X): int =
x.a_impl
var x: X
assert(not compiles((block:
x.a = 1
)))
echo "ok"