[#69616] [Ruby trunk - Feature #11258] add 'x' mode character for O_EXCL — cremno@...
Issue #11258 has been updated by cremno phobia.
3 messages
2015/06/16
[#69643] [Ruby trunk - Misc #11276] [RFC] compile.c: convert to use ccan/list — normalperson@...
Issue #11276 has been updated by Eric Wong.
3 messages
2015/06/17
[#69751] [Ruby trunk - Bug #11001] 2.2.1 Segmentation fault in reserve_stack() function. — kubo@...
Issue #11001 has been updated by Takehiro Kubo.
3 messages
2015/06/27
[ruby-core:69630] [Ruby trunk - Feature #11032] [Closed] Add a warning for misspelling "def intialize"
From:
duerst@...
Date:
2015-06-17 08:51:29 UTC
List:
ruby-core #69630
Issue #11032 has been updated by Martin D端rst. Status changed from Open to Closed This issue can be closed because this will be covered by #11252 in a much more general way. ---------------------------------------- Feature #11032: Add a warning for misspelling "def intialize" https://bugs.ruby-lang.org/issues/11032#change-52980 * Author: Robert A. Heiler * Status: Closed * Priority: Low * Assignee: ---------------------------------------- Hi guys, When I was younger, in a class, I wrote this: "def intialize(some_argument_here)" This lead to an error because it should have been: "def initialize(some_argument_here)" My proposal is simple: Add a warning for an error like this. :) (a) If there is no method called "initialize" (b) but there is a message called "intialize", in a given class, add a notification such as: "warning: intialize might be misspelled, perhaps you meant initialize" Reasoning: Perhaps other people out there also sometimes misspell initialize, so that might make it a bit faster for them to detect this error. -- https://bugs.ruby-lang.org/