Ruby: Add change note

This commit is contained in:
Tom Hvitved
2024-12-20 11:04:29 +01:00
parent 978a816f11
commit 37212cc43f

View File

@@ -0,0 +1,4 @@
---
category: minorAnalysis
---
* Types are now being tracked in data flow, but only when the type of an object is obvious from the context. For example, `C.new` has guaranteed type `C`, while in `def add(x, y) { x + y }` we cannot assign a type to `x + y` (it could, for instance, be both `String` and `Integer`). Tracking types allows us to remove false-positive results when type incompatibility can be established.