[ruby-cvs:78255] 78e266da1d (master): Clarify documentation for `InstructionSequence#compile`.
"Samuel Williams" <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.cvs |
|---|---|
| Message-ID | <[email protected]> |
Samuel Williams 2019-11-19 11:40:00 +0900 (Tue, 19 Nov 2019)
New Revision: 78e266da1d
https://github.com/ruby/ruby/commit/78e266da1d
Log:
Clarify documentation for `InstructionSequence#compile`.
We incorrectly assumed that the `file` argument should be the file name and
caused https://github.com/scoutapp/scout_apm_ruby/issues/307 because
exception backtrace did not contain correct path. This documentation
clarifies the role of the different arguments and provides extra
examples.
Modified files:
iseq.c