OpenSearch/modules/lang-painless
Jack Conradson 13b1f19772
[Painless] Add extensive tests for def to primitive casts (#36455)
This adds tests for each possible cast of def to a primitive type both implicit 
and explicit. This also fixes a minor bug where we were only checking the type 
of a def to be Number in some explicit casts. This does not work because it 
allows possible unintended casts from BigInteger and BigDecimal to primitive 
types since they both extend Number but are not included as part of the 
Painless casting model.
2018-12-11 08:03:08 -08:00
..
licenses Upgrade Painless from ANTLR 4.5.1-1 to ANTLR 4.5.3. (#27153) 2017-10-27 11:07:49 -07:00
spi Scripting: Switch watcher to use joda bwc time objects (#35966) 2018-12-10 17:29:25 -08:00
src [Painless] Add extensive tests for def to primitive casts (#36455) 2018-12-11 08:03:08 -08:00
build.gradle NETWORKING:Def CName in Http Publish Addr to True (#33631) 2018-09-18 10:29:02 +02:00