/[eiffelstudio]/trunk/eweasel/tests/store043/test2.e
ViewVC logotype

Contents of /trunk/eweasel/tests/store043/test2.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 99262 - (show annotations)
Thu Oct 6 17:21:30 2016 UTC (3 years, 3 months ago) by manus
File size: 137 byte(s)
New test showing that storable is not handling changes in formal generic constraints

If you change a type to be constrained to A but then change it to B, it should raise a mismatch.

1 class
2 TEST2 [G -> $CONSTRAINT]
3
4 inherit
5 TEST1
6
7 create
8 make
9
10 feature
11
12 make
13 do
14 a := {$CONSTRAINT} "my_string"
15 end
16
17 a: ANY
18
19 end

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23