Refactor primitive conversion with narrowing option and fix var decl checking (MPSCR-63)
According to JLS, narrowing is allowed in assignment context, but forbidden e.g. in invocation context.
This commit is contained in:
parent
e2eb0f4647
commit
e94ea9955c
|
|
@ -743,15 +743,31 @@
|
|||
<node concept="3xSepi" id="4E290qPZCqZ" role="3xSepv">
|
||||
<node concept="3Aq9E8" id="4E290qPZCr0" role="3xSepj">
|
||||
<node concept="3I6sU6" id="4E290qPZCr1" role="3Ip0Jz">
|
||||
<node concept="3I6s7M" id="4E290qPZC$b" role="3I6sU7">
|
||||
<node concept="3Aqt3T" id="4E290qPZrTl" role="3I6s78">
|
||||
<ref role="3AqCNq" to="kqnc:7AyqXCd_0im" resolve="primConvertsTo" />
|
||||
<node concept="a7P8L" id="4E290qPZrXR" role="3AunhB">
|
||||
<node concept="3I6s7M" id="3sbALnU5QwA" role="3I6sU7">
|
||||
<node concept="3Aqt3T" id="3sbALnU5Qw_" role="3I6s78">
|
||||
<ref role="3AqCNq" to="kqnc:3vTJNooZDgN" resolve="convertsToAlt" />
|
||||
<node concept="a7P8L" id="4O7HczOrN$c" role="3AunhB">
|
||||
<ref role="a7OzE" node="4E290qPZCaH" resolve="IndexT" />
|
||||
</node>
|
||||
<node concept="ns1u0" id="4E290qPZwqf" role="3AunhB">
|
||||
<node concept="ns1u0" id="4O7HczOrN_u" role="3AunhB">
|
||||
<ref role="ns1xF" to="kqnc:JOGAOsVt2E" resolve="_int_" />
|
||||
</node>
|
||||
<node concept="37jhX" id="4O7HczOl7p$" role="3AunhB">
|
||||
<node concept="2OqwBi" id="4O7HczOl80H" role="37jj2">
|
||||
<node concept="2OqwBi" id="4O7HczOl7Mj" role="2Oq$k0">
|
||||
<node concept="2YIFZM" id="4O7HczOl7A3" role="2Oq$k0">
|
||||
<ref role="37wK5l" to="kqnc:4O7HczOeR2N" resolve="get" />
|
||||
<ref role="1Pybhc" to="kqnc:4O7HczOeKN2" resolve="ConvertsContext" />
|
||||
</node>
|
||||
<node concept="liA8E" id="4O7HczOl7UH" role="2OqNvi">
|
||||
<ref role="37wK5l" to="kqnc:4O7HczOifwt" resolve="allowNarrowing" />
|
||||
</node>
|
||||
</node>
|
||||
<node concept="liA8E" id="4O7HczOl88B" role="2OqNvi">
|
||||
<ref role="37wK5l" to="kqnc:4O7HczOeOsd" resolve="toOptions" />
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue