QuackatronHQ / Gigarepo

Bad ordering of magic comments RB-LI1042
Bug risk
Major
25 days agoa year old
The encoding magic comment should precede all other magic comments.
 2
 3# Raises "bad ordering of magic comments"
 4# frozen_string_literal: true
 5# encoding: ascii 6
 7# Raises "use of deprecated BigDecimal.new"
 8a = { 'hello' => 'world', 'testing' => BigDecimal.new(123.456, 3) }